Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!swidir.switch.ch!scsing.switch.ch!news.belwue.de!news.uni-stuttgart.de!uni-regensburg.de!fauern!news.tu-chemnitz.de!irz401!uriah.heep!bonnie.heep!not-for-mail From: j@bonnie.heep.sax.de (J Wunsch) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Add a new hard disk... Date: 15 Aug 1995 10:56:41 +0200 Organization: Private U**x site, Dresden. Lines: 36 Message-ID: <40png9$ov1@bonnie.tcd-dresden.de> References: <40o7af$76t@news.csie.nctu.edu.tw> Reply-To: joerg_wunsch@uriah.heep.sax.de NNTP-Posting-Host: 192.109.108.139 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Chun-Feng Liu <cfliu@Apollo.dorm10.nctu.edu.tw> wrote: > 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. I think it's Jordan's intention that sysinstall should be usable for this, too -- but the version in 2.0.5 wasn't fully ready for it. Here's what i used to do manually: o Determine the intented disk geometry to use o Create an entry in /etc/disktab, thereby defining the desired partitioning; it's name is "foo1999" o disklabel -r -w wd1 foo1999 o disklabel -B wd1 o newfs -d0 /dev/rwd1a etc. Note that the above scenario will assign the whole disk to FreeBSD, and you should *NEVER* get this disk in touch with any DOS 6.X `fdisk' program -- it will identify your partition table as invalid, and destroy it without warning you. For SCSI disks, you can even put an `su#XXXXX' entry in the disktab, telling to use the exact number of blocks available instead of the (faked) nc * nt * ns figure. -- cheers, J"org private: joerg_wunsch@uriah.heep.sax.de http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)