.... when I use a hex editor the output offset starts at zero, and on the Starman's page, above the hex dump, he labels the first sector as zero.
Exactly.
If you talk about sector number is one thing, if you talk about it's offset it's another.
If you use "sector number", this kind of thing DOES NOT exist in LBA notation.
I made a mistake however.
LBA actually means
Large Logical Block Address, corrected previous post.
The two data fields in a Partition table, at offset:
- 454/470/486/502 dec (4 bytes) <-"StartSector" or "Start LBA" or "Sectors Before" or "Offset of the sector"
and - 458/474/490/506 dec (4 bytes) <-"Total Sectors" or "Num Sectors" or "Sectors in partition"
As often happens, and not unlike the confusion about disk and drive I pointed you earlier, lots of people (not only you) commonly say that:
Sector 1=LBA Sector 0
Which is a perfectly acceptable convention, as long as LBA or "Absolute" is specified, or however the fact that 0 based numbering is used.
The
Starman in his pages alway refers to the same sector as first Sector or Sector 1 or CHS 0,0,1 or
Absolute Sector 0, which is very accurate.
One should always make sure that what he says or writes is as accurate and not misunderstandable, sometimes it is difficult to disambiguate something, example:
http://mirror.href.c.../mbr/AA55H.htmlThe Wikipedia article on LBA:
http://en.wikipedia....lock_addressingfurther clears this probably subtle difference between "sector number" and it's "LBA Address".
Wonko