ddt.offset confusingly commented
boeckmann opened this issue · 1 comments
boeckmann commented
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:
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:
Line 582 in 8552d83
PerditionC commented
I can see that, partition offset relative to start of disk, but absolute lba of start of partition is clearer.