-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix partitioner on disks with secotor size other than 512
We were assuming all disks in the world would have a sector size of 512 but that its not true. This patch will not force to open the disk with a hardcoded sector size and will use the sector size values of the disk to set the sizes, partition table and such. this fixes partitions on disks with 4k sector size Signed-off-by: Itxaka <[email protected]>
- Loading branch information
Showing
1 changed file
with
11 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters