On Mon, 9 Aug 1999, OKUJI Yoshinori wrote:

>   Could you check out the current version from the CVS? The current
> version has "geometry" command, and it shows the information about the
> geometry of a drive that you specify. Try to run a command like this:
> 
> > geometry= (hd0)

Actually, geometry= (hd1) :)

I used the patch from the list archives, actually, but I got a fuzz factor
of 1 (it works anyways).

from shell:
drive 0x81: C/H/S = 621/128/63, The number of sectors = 5007744, LBA
from native:
drive 0x81: C/H/S = 620/128/63, The number of sectors = 4999680, CHS

Ugh. CHS access, and 1 less cyl. My drive is only 23% full, though.  My
bios setup says the same as the shell, but it says landz=4969, also
(whatever that is). Linux definetly treats it as LBA, because I wrote a
100Mb file and it brought me way past the 528Mb limit of CHS. But, AFAIK,
CHS only allows heads to get up to 16. Maybe this could be used as a check
of whether to use LBA or not. Maybe we should check the Linux source to
see how they detect LBA.

Reply via email to