
On Monday 2012-11-26 21:31, Jan Engelhardt wrote:
On Monday 2012-11-26 18:12, Romanator wrote:
On Sun 25 Nov 2012 08:15:15 AM EST, Jan Engelhardt wrote:
Welcome to the Wonderful World of (IBM-)Microsoft. While I do not necessarily claim it was the first, MS-DOS was the most prominent one to date which used the stupid "1-based, last-inclusive" style, i.e.
p1: start=cyl 1 end=cyl 1023 (for a total of 1024 cyls) p2: start=cyl 1024, end=cyl 2047 (for another 1024)
Solaris, Apple and BSD, and even EFI GUID partition tables all use[...]
Spoke too soon. Turns out EFI also uses the dreaded last-inclusive sector notation in the on-disk format. Whatever Intel took at that time, you can likely trace it back to MSDOS as well. At least the Linux tools work around that and use the last-exclusive aka "omg, it shows overlapping sectors!" notation. Details in include/linux/genhd.h where you can see the layouts of the various table formats and see who's using _size and who's using "last usable sector". -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org