*BSD News Article 74102


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!howland.reston.ans.net!nntp.coast.net!zombie.ncsc.mil!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: fdisk
Date: 18 Jul 1996 11:50:24 GMT
Organization: Private BSD site, Dresden
Lines: 36
Message-ID: <4sl8e0$53o@uriah.heep.sax.de>
References: <jon-1707961309120001@jons7500.vc.net>
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

jon@vcnet.com (Jon Rust) wrote:

> I'm a recent Linux transfer. I was using Linux for inn, but I like the
> FreeBSD system better. Except for fdisk. Linux has this cool utility
> called cfdisk.

/stand/sysinstall should now be up to the task as well.  It was not
really usable for this purpose in 2.1 however.

> Is there a more userfriendly interface to fdisk and disklabel? Damn, you'd
> have to study the man pages, and a boat load of books to understand
> everything involved with these two programs. An unnecassary level of
> detail as demonstrated by the relatively clean and easy Linux method.

Well, people coming from a BSD/Ultrix/SunOS background usually have
very few problems with labelling a disk. *smile*

Despite of the new sysinstall, that's what i would do to add a new
disk.  (Disclaimer: no need for DOS or Linux compatibility etc.)

	1. see whether the driver annoucement is there, say it's "sd2"
	2. ignore fdisk :), BSD doesn't need it
	3. disklabel -Brw sd2 auto # not available in 2.1, but in 2.1.5 & 2.2
	4. disklabel -e sd2	# edit my partitions
	5. newfs -d0 /dev/rsd2e	# etc.
	6. vi /etc/fstab
	7. mount -a -t ufs -u

...and i'm done.  Do you find it difficult? ;-)

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