Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Aug 1996 23:35:09 +0200 (MET DST)
From:      Luigi Rizzo <luigi@labinfo.iet.unipi.it>
To:        rnordier@iafrica.com (Robert Nordier)
Cc:        hackers@FreeBSD.org
Subject:   Re: Determining disk type & size
Message-ID:  <199608282135.XAA01269@labinfo.iet.unipi.it>
In-Reply-To: <199608282008.WAA00279@eac.iafrica.com> from "Robert Nordier" at Aug 28, 96 10:08:01 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> Most of the userland code I've looked at doesn't seem to handle this
> very elegantly, where it checks.  And some of my attempts to do the
> obvious seem to produce inconsistent results (below).
> 
> Thanks.
> 
> --
> Robert Nordier
> 
> ----- fdtest output -----
> 
> ./fdtest /dev/fd0
> sectors per cylinder: 158 [<-- 30 expected]

158 = 30 + 128
maybe bit 7 is not significant, or used for different purposes.

	Luigi
====================================================================
Luigi Rizzo                     Dip. di Ingegneria dell'Informazione
email: luigi@iet.unipi.it       Universita' di Pisa
tel: +39-50-568533              via Diotisalvi 2, 56126 PISA (Italy)
fax: +39-50-568522              http://www.iet.unipi.it/~luigi/
====================================================================



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