*BSD News Article 60436


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!news.ysu.edu!usenet.ins.cwru.edu!gatech!news.mathworks.com!fu-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!informatik.uni-bremen.de!nordwest.pop.de!uniol!uni-erlangen.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 7200rpm drive (Thanks)
Date: 23 Jan 1996 23:54:01 GMT
Organization: Private BSD site, Dresden
Lines: 27
Message-ID: <4e3sep$6th@uriah.heep.sax.de>
References: <DLKzqE.5F5@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:
> Thanks to J"org and to all the other folks that helped out.
> I finally got the disk working properly.  The trick seems to
> be finding the total number of sectors on the disk and adding
> that number to your disktab entry for the disk (su#).  At
> that point, you should be able to fdisk and disklabel this
> disk.  Then you use /dev/MAKEDEV to create the entries for
> your new partitions, newfs the partitions, and mount them.

Btw., with FreeBSD-current, try

	disklabel -r -w sdX auto
	disklabel -e sdX

> Overall, I suppose it was a learning experience <grin>, but
> it sure would be nice to have a painless utility like BSDI's
> disksetup program to do the dirty work.  Maybe some day I'll
> learn enough C to do that.  :-)

Do it. :-)  Pick /usr/src/release/libdisk as a starting point...

-- 
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. ;-)