*BSD News Article 59248


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!paladin.american.edu!gatech!news.mathworks.com!fu-berlin.de!news.dfn.de!news.uni-jena.de!news.HRZ.HAB-Weimar.DE!News.HTWM.De!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Conner 4gig 7200 RPM drive
Date: 17 Jan 1996 01:31:57 GMT
Organization: Private BSD site, Dresden
Lines: 20
Message-ID: <4dhjid$r9@uriah.heep.sax.de>
References: <DL4LBE.F6F@ritz.mordor.com>
Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch)
NNTP-Posting-Host: localhost.heep.sax.de
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Newsreader: knews 0.9.3

ritz@ritz.mordor.com (Chris Mauritz) writes:
> I'm helping someone add one of these disks to a FreeBSD 2.1 box.
> I can't seem to find enough information from the drive specs
> to generate a useful disktab entry for the drive.  I checked
> the FAQ and it seems to rely on the fact that the user has
> a valid disktab to partition and label the disk.  

All you need is the total number of sectors.  It's being announced at
boot time.  Add this figure as the su# capability into the disktab
entry, i think you will also have to invent figures for ns#, nt#, and
nc# (though they are largely irrelevant if su# is present), make your
`c' partition start at offset 0 and exactly the same length.  This
should get you up&flying to use disklabel -e for the rest.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)