Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Mar 1996 13:00:30 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        joerg_wunsch@uriah.heep.sax.de, terry@lambert.org
Cc:        freebsd-hackers@FreeBSD.org
Subject:   Re: Adding a damn 2nd disk
Message-ID:  <199603230200.NAA02403@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>> > In any case, a linear congruential search for the boundry conditions
>> > followed by a binary search could easily find the last sector on
>> > any device for you.  ...
>> 
>> How big is the chance that this will jam an good ol' ``dumb'' drive?

>A plain binary search will fail at twice address wrap boundry; that's
>why you can't start at 32 bit and work down with a vanilla binary
>search.

I think it won't quite work on many ESDI drives.  IIRC _part_ of the
cylinder beyond the last cylinder was readable but not writable on my
drives, and the last readable and writable cylinder was one more than
the number reported by the BIOS.

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199603230200.NAA02403>