Re: Disk Geometries reported incorrectly on 2.6.0-testX

From: John Bradford
Date: Sat Nov 29 2003 - 08:48:00 EST


> Let me continue to stress: geometry does not exist.
> Consequently, it cannot change.
> fdisk does not set any geometry, it writes a partition table.
>
> Start and size of each partition are given twice: in absolute sector
> units (LBA) and in CHS units. The former uses 32 bits, and with 512-byte
> sectors this works up to 2TB. People are starting to hit that boundary now.
> The latter uses 24 bits, which works up to 8GB. Modern systems no longer
> use it (but the details are complicated).

Why don't we take the opporunity to make all CHS code configurable out
of the kernel, and define a new, more compact, partition table format
which used LBA exclusively, and allowed more than four partitions in
the main partition table?

I know it sounds pointless to define a new partitioning scheme when
there are so many already in existance, but for dedicated Linux
machines, only being able to define four partitions without resorting
to 'extended' partitions, which store there partitioning data in other
parts of the disk, is a needless limitation. We could also ensure
that there is sufficient magic in the partition table to make
identifying it easy and reliable.

John.
-
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/