Subject: Re: Disklabel
To: None <jules@monica.mailbox.co.uk>
From: Mike Long <mike.long@analog.com>
List: current-users
Date: 10/01/1996 12:54:49
>Date: Tue, 1 Oct 1996 16:42:32 +0100 (BST)
>From: jules@monica.mailbox.co.uk

>He has NetBSD-i386 just installed, and he is currently set up like this:

>Disk 2:
>16M root
>         (unused)
>16M swap
>         (unused)
>70M usr
>
>He wants to reclaim the unused wd1a and wd1b, to use as another parition
>(e.g /home or something).
>
>How do we do this with disklabel?

% disklabel -e wd1

In the editor (vi by default),

1) Set new size of a: to sum of old size of a: and old size of b:
   (32M).
2) Set type of b: to "unused".
3) Set size of b: to zero.
4) Save & quit (:wq)

Then, all he needs to do is newfs /dev/rwd1a, and update /etc/fstab:

/dev/wd1a	/home	rw	1 2

If he has any more questions, tell him to RTFM.
-- 
Mike Long <mike.long@analog.com>     <URL:http://www.shore.net/~mikel>
VLSI Design Engineer         finger mikel@shore.net for PGP public key
Analog Devices, CPD Division          CCBF225E7D3F7ECB2C8F7ABB15D9BE7B
Norwood, MA 02062 USA       (eq (opinion 'ADI) (opinion 'mike)) -> nil