Re: RFC: disk geometry via sysfs

From: Seewer Philippe
Date: Tue Feb 14 2006 - 11:34:03 EST



Phillip Susi wrote:
> linux-os (Dick Johnson) wrote:
>
>> You can make your own:
>>
>> Pretend a sector is 512 bytes.
>> Use the maximum number of cylinders of either 65535 or 1024
>> Use the maximum number of sectors up to 255
>> Use the maxumum number of heads up to 255
>>
>>
>> Try the above with 1024 cylinders first. If it doesn't fit, use
>> 65535. That's all the BIOS does. It's just used to fit the
>> stuff into registers for 16-bit BIOS calls (see int 0x13).
>>
>>
>
>
> Actually, different bioses do it in different ways, that is just one way
> ( and possibly the most popular ). The same bios can even do it
> differently depending on what options are selected in the bios setup.
> Of course, this only effects Microsoft operating systems because
> everyone else is sane and supports LBA.

With emphasis on _sane_
-
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/