*BSD News Article 76874


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!nntp.primenet.com!EU.net!usenet2.news.uk.psi.net!uknet!usenet1.news.uk.psi.net!uknet!dispatch.news.demon.net!demon!awfulhak.demon.co.uk!awfulhak.demon.co.uk!awfulhak.demon.co.uk!not-for-mail
From: brian@awfulhak.demon.co.uk (Brian Somers)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: How to combine two file systems
Date: 23 Aug 1996 14:05:59 +0100
Organization: Coverform Ltd.
Lines: 37
Message-ID: <4vkabn$8u@anorak.coverform.lan>
References: <4vgbqa$7r@ceil.fv.net>
NNTP-Posting-Host: localhost.coverform.lan
X-NNTP-Posting-Host: awfulhak.demon.co.uk
X-Newsreader: TIN [version 1.2 PL2]

Brian Bayorgeon (root@fv.net) wrote:

: I have FreeBSD 2.0 Release

: Ok, here is the thing...

: I am trying to re-work the disk partitions.  Originally I created an
: additional partition (/data) beyond the standard /, /usr/, /var, and
: swap. I would now like to delete /var and /data and make a new, 
: larger /var.  My first thought was to use "sysinstall" from a boot
: disk and go into Custom, Label and use the Disklabel Editor. Then
: delete the two partitions (/dev/wd1s1e and /dev/wd1s1g) and use
: "C" to create a new larger partition. And finally use the dreaded
: "W" command to write the changes......ohhhh noooo should I do it?

: Is all this a wise to get the job done or....am I flirting with
: disastor??

: If I am flirting with disasator, what is a wise way to re-work
: these paritions?

: PS: just point me in the right direction....no blow by blow needed

YEEEEEEAAAAAAAAAAAAAAAAAAAAARRRRRRRRRRRRRRRRRRRRRRGGGGGGGGGGGGGHHHHHHHHH !

I was going to suggest disklabel -e wd1 (assuming that your two partitions
are next to eachother).  I'm writing this on a 960323-SNAP laptop with
an IDE disk, and tried "disklabel -e wd0" to see what would happen.  The
expected happened - I was about to post when I said ":q" from the vi
that disklabel invoked.  The X screen scrolled up about 2 inches and the
machine rebooted...... *BANG*

I suspect *your* suggestion is more workable - certainly with 960323 !

--
Brian <brian@awfulhak.demon.co.uk>
Don't _EVER_ lose your sense of humour....