*BSD News Article 60728


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.hawaii.edu!ames!agate!ihnp4.ucsd.edu!usc!math.ohio-state.edu!howland.reston.ans.net!swrinde!newsfeed.internetmci.com!in1.uu.net!zib-berlin.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: Hard drive configuration
Date: 27 Jan 1996 21:55:54 GMT
Organization: Private BSD site, Dresden
Lines: 29
Message-ID: <4ee71a$np9@uriah.heep.sax.de>
References: <4e9fk1$r0h@taz.edmonds.ctc.edu>
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

sf@taz.edmonds.ctc.edu (Scott Farrand) writes:
> Is there a concise list of steps necessary to label/slice/format a new
> drive for use with FreeBSD?

For an _entirely_ dedicated drive (no MessDog in reach at all):

Get the disklabel(8) command from FreeBSD-current.  Run:

	disklabel -r -B -w sd1 auto
	disklabel -e sd1

..and edit the partitions on the drive as you need.  (I assume the
new drive is the second SCSI drive in the example.)

Then, say you've reserved some sectors in partition `b' for swapping
(always a good idea), and left the remaining portion of the disk as
partition `e' for a file system:

	newfs -d0 /dev/rsd1e

..and finally include the lines for /dev/sd1b and /dev/sd1e into
/etc/fstab.

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