*BSD News Article 62146


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!newshost.telstra.net!news.ci.com.au!metro!metro!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!math.ohio-state.edu!uwm.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!news.mathworks.com!fu-berlin.de!news.belwue.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: adding a disk
Date: 20 Feb 1996 01:22:12 GMT
Organization: Private BSD site, Dresden
Lines: 23
Message-ID: <4gb7o4$d34@uriah.heep.sax.de>
References: <31278A7E.41C67EA6@visual.is.net>
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

Adam Mitchell <adamm@visual.is.net> writes:
> I have a blank IDE drive (wd1).  I want to use 96MB for SWAP and the
> rest as /mnt_whatever.  How do I initialize this blank disk?

Try /stand/sysinstall.

If the drive is intended to be *only* for FreeBSD, get a recent
disklabel(8) command from FreeBSD-current, and try the following:

	disklabel -B -r -w wd1 auto
	disklabel -e wd1	# ...edit the partitioning data, use
				# partition `b' for the swap, and for
				# example `e' for /mnt_whatever
	newfs -d0 /dev/rwd1e

Edit your fstab as you like.

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