Re: Disk geometry from /sys

From: Seewer Philippe
Date: Wed Apr 23 2008 - 02:53:57 EST


Mark Lord wrote:
[snip]
The earliest IDE drives for Compaq used only CHS sector addressing mode.

Within four years, though, all new drives had support for the more sensible linear block addressing (LBA) mode, as well.

LBA has been mandatory in new drives since the early 1990s,
so there's really no point to CHS addressing any more,
except when fiddling with MS-DOS style partition tables
(which have both CHS and LBA values stored inside).

Sorry, can't resist that quip here... Many of the well known x86-based OS', OS-installers and even bootloaders from this millenium trusted the partition tables c/h/s values to match the bios... causing havoc say with PATA drives atached to SATA connectors.

If that weren't the case I guess Linux could have get rid of c/h/s a looong time ago. Hmmm... maybe its time?
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/