*BSD News Article 86718


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!news.mel.aone.net.au!grumpy.fl.net.au!news.webspan.net!www.nntp.primenet.com!nntp.primenet.com!news.mathworks.com!fu-berlin.de!irz401!orion.sax.de!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: adding a second hard drive
Date: 18 Jan 1997 22:40:16 GMT
Organization: Private BSD site, Dresden
Lines: 26
Message-ID: <5brjgg$30b@uriah.heep.sax.de>
References: <ricky-1401971125020001@194.207.66.18>
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.6
X-Phone: +49-351-2012 669
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E
Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:34006

"Ricky Chan" <ricky@come.net.uk> wrote:

> I have a Seagate SCSI 2.1G (ST32151N) Hard drive which the drivers can find,
> the problem is after following the procedure outline at www.freebsd.org I
> get to divide partition according to taste, so I select to have the WHOLE
> drive dedicated for the mount point said above.

> I am running Freebsd 2.1.6 (stable)

The short way:

	dd if=/dev/zero of=/dev/rsd1 count=100	# wipe old junk, just in case
	disklabel -Brw sd1 auto
	disklabel -e sd1	# edit your partitions as you want
	newfs -d0 /dev/rsd1a	# etc.
	vi /etc/fstab
	mount -a -t ufs -u

...and you should be done.

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