Re: ATA 4 KiB sector issues.

From: H. Peter Anvin
Date: Wed Mar 17 2010 - 02:49:20 EST


On 03/16/2010 06:24 AM, James Bottomley wrote:

Because the msdos label can only partition in units of cylinders. If
you're using an msdos label, picking the right H/S gets you alignment.


This is doubly false.

An MS-DOS partition table can partition at any boundary. Some OSes (like some versions of MS-DOS) needed track alignment because their boot loaders did not support crossing track boundaries.

Second, the primary field in the (modern) MS-DOS partition table is an LBA field. The CHS fields are largely historic and useless because of the 1024-cylinder limitation, and by only being 24 bits total.

-hpa
--
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/