We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://github.com/FDOS/kernel/blob/master/hdr/device.h#L239 states that ddt.offset is the relative partition offset. But in fact this seems to be the absolute LBA sector number of the first sector of the partition.
ddt.offset
Initialized here:
kernel/kernel/initdisk.c
Line 576 in 8552d83
This is in contrast to bpb_hidden, which is relative to the "container", either the start of the disk or the start of the extended partition:
bpb_hidden
Line 582 in 8552d83
The text was updated successfully, but these errors were encountered:
I can see that, partition offset relative to start of disk, but absolute lba of start of partition is clearer.
Sorry, something went wrong.
No branches or pull requests
https://github.com/FDOS/kernel/blob/master/hdr/device.h#L239 states that
ddt.offset
is the relative partition offset. But in fact this seems to be the absolute LBA sector number of the first sector of the partition.Initialized here:
kernel/kernel/initdisk.c
Line 576 in 8552d83
This is in contrast to
bpb_hidden
, which is relative to the "container", either the start of the disk or the start of the extended partition:kernel/kernel/initdisk.c
Line 582 in 8552d83
The text was updated successfully, but these errors were encountered: