Re: RFC: disk geometry via sysfs

From: Seewer Philippe
Date: Thu Feb 16 2006 - 03:16:32 EST




Alan Cox wrote:
> 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.
not always. to dos based winnt.exe installer for windows xp trusts the
bios, not the mbr
>
> 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/