Commit 69af899
committed
ptool: Correct MBR sector occupancy calculation
Fix MBR sector occupancy calculation to reflect dynamic sector sizes.
Ensure MBR occupies one sector: 0.5KB or 4KB depending on configuration.
Match actual device layout for correctness.
Signed-off-by: Xiaoming Zhao <[email protected]>1 parent 58b3eef commit 69af899
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1000 | 1000 | | |
1001 | 1001 | | |
1002 | 1002 | | |
1003 | | - | |
| 1003 | + | |
1004 | 1004 | | |
1005 | 1005 | | |
1006 | 1006 | | |
| |||
0 commit comments