Commit fe346a2
committed
ptool: Dynamically erase main GPT based on sector size
Erase main GPT sectors dynamically based on sector size.
Use 34 sectors for 512-byte sectors and 6 for 4096-byte sectors.
Improve accuracy and compatibility with different storage configurations.
Signed-off-by: Xiaoming Zhao <[email protected]>1 parent aab48ce commit fe346a2
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
799 | 799 | | |
800 | 800 | | |
801 | 801 | | |
802 | | - | |
| 802 | + | |
803 | 803 | | |
804 | 804 | | |
805 | 805 | | |
| |||
0 commit comments