-
Notifications
You must be signed in to change notification settings - Fork 1
Description
Is your feature request related to a problem? Please describe.
Currently the program assumes 512 as a block offset. This may change in the long term. Modern disks support up to 16Kb block size, however, they stick to 512 bytes for 'compatibility'.
Describe the solution you'd like
Read the LBA1, since it always should start after the MBR protective (LBA0) and when parsing the partition, it should give that parameter depending on the disk.
How will I deal with the problem?
Trying to read with different offsets. Potentially up to 32Kb sector size. Using this approach drives me away from using ioctl().
Describe alternatives you've considered
Stick with the 512 offset size. However this is not a good decision, still is good enough to keep developing more critical modules to make the boot manager work.