*BSD News Article 49032


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!newsroom.utas.edu.au!munnari.oz.au!spool.mu.edu!howland.reston.ans.net!torn!mcshub!informer1.cis.McMaster.CA!muss.CIS.McMaster.CA!u9417644
From: u9417644@muss.CIS.McMaster.CA (A. Orady)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Add a new hard disk...
Date: 18 Aug 1995 15:49:40 GMT
Organization: McMaster University, Hamilton, Ontario, Canada (NewServer)
Lines: 25
Message-ID: <412cqk$t3g@informer1.cis.McMaster.CA>
References: <40o7af$76t@news.csie.nctu.edu.tw>
NNTP-Posting-Host: muss.cis.mcmaster.ca
X-Newsreader: TIN [version 1.2 PL2]

Chun-Feng Liu (cfliu@Apollo.dorm10.nctu.edu.tw) wrote:
: Hi,
: 	I have a new IDE hard disk and I'd like to mount it to my 
: 	FreeBSD system. After I have made new partitions,I encounter
: 	a problem...How to make a new fs? I don't know what arguments 
: 	should I give to "newfs"...I've read FAQ in freebsd.csie.nctu.edu.tw
: 	but it doesn't work,so I post here and look for help.
: 	
: 	Please reply to my mailbox. Thanks in advance.
: 	
: 	David.
: --
: Chun-Feng Liu 
: Email:	cfliu@Apollo.Dorm10.NCTU.edu.tw (FreeBSD)

After making a new partion and marking it with 0xA5 (156 dec), you need 
to edit the /etc/disktab file in order to specify the BSD partitions you 
will be making.  Next you need to run disklabel to write this:
	disklabel -w -r wd1 <diskname>
Where diskname is defined in the disktab file.  man disktab for more 
info.  Once you have labeled your disk you can then run newfs.  run:
	newfs /dev/rwd1?
where the "?" is replaced with the letter for each partition.  I hope 
this helps...
-Aly