Re: RFC: disk geometry via sysfs

From: Alan Cox
Date: Wed Feb 15 2006 - 12:27:30 EST


On Mer, 2006-02-15 at 11:20 -0500, Phillip Susi wrote:
> Why do you say the partitioning tool needs to know the disk reported
> C/H/S? The value stored in the MBR must match the bios reported values,
> not the disk reported ones, so why does the partitioner care about what
> the disk reports?

You answered that in asking the question. "The value stored in the MBR
must match the ...". What if the MBR has not yet been written ?

(Also btw its *should*...) most modern OS's will take a sane MBR
geometry and trust it over BIOS defaults.

Alan

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