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.syd.connect.com.au!news.bri.connect.com.au!fjholden.OntheNet.com.au!news From: Tony Griffiths <tonyg@OntheNet.com.au> Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: How to add in another hard disk Date: Thu, 12 Dec 1996 12:04:06 +1000 Organization: On the Net (ISP on the Gold Coast, Australia) Lines: 25 Message-ID: <32AF6816.45F8@OntheNet.com.au> References: <01bbe690$2499f810$373bf5c0@sequel> Reply-To: tonyg@OntheNet.com.au NNTP-Posting-Host: swanee.nt.com.au Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (WinNT; I) To: JinG <jing@exchanger.scs.com.sg> Xref: euryale.cc.adfa.oz.au comp.unix.bsd.freebsd.misc:32432 JinG wrote: > > Hi, all: > > After FreeBSD 2.1.5 installation, I wish to add in 2nd hard disk, > /dev/wd1, > how to partition it and create new filesystem, and mount this hd to /usr2 The utilities you need to use, in this order are- fdisk : create a DOS-style disk label disklabel : create a Unix partition label newfs : create a Unix File System vi : edit your "/etc/fstab" file There are man pages on all of these utilities and the structure of the fstab file. Basically, you can look at your existing wd0 disk and copy most of the attributes you need for wd1 from it! Eg. # fdisk wd0 # disklabel wd0 Tony