*BSD News Article 59838


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.bhp.com.au!mel.dit.csiro.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.cis.okstate.edu!news.ksu.ksu.edu!lazrus.cca.rockwell.com!cacd.rockwell.com!newsrelay.iastate.edu!vixen.cso.uiuc.edu!newsfeed.internetmci.com!EU.net!Germany.EU.net!zib-berlin.de!news.tu-chemnitz.de!irz401!uriah.heep!news
From: j@uriah.heep.sax.de (J Wunsch)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: mouse / new hd
Date: 22 Jan 1996 23:21:24 GMT
Organization: Private BSD site, Dresden
Lines: 33
Message-ID: <4e165k$bps@uriah.heep.sax.de>
References: <4dqf7f$ltp@news.calweb.com>
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.3

cslye@infosite.com (Cameron Slye) writes:

> I just put a new gig drive into this system, it was after the time I
> installed it, and am wanting to fdisk/format it... I think I have
> been able to write the fdisk info via sysinstall.  But I need to
> format it, and have not got the hang of newfs...

> Jan 19 03:29:43 info /kernel: 1003MB (2054864 512 byte sectors)

Is this a dedicated FreeBSD disk?

Either, get disklabel(8) from FreeBSD-current, and run

	disklabel -r -w sd1 auto
	disklabel -e sd1

(the latter, to establish the desired partitioning), or

Pick the number 2054864, setup a dummy /etc/disktab entry, using the
su#2054864, while inventing bogus but valid numbers for nc, ns, and
nt.  Disklabel -r -w your disk as described in disklabel(8), then run
the disklabel -e as above.

> And second, is there a cut and paste util like gpm for linux for FreeBSD?

Not that i know of.

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