lkml.org 
[lkml]   [2006]   [Feb]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: RFC: disk geometry via sysfs

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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-02-14 17:38    [W:0.135 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site