Subject: Re: How to move usr and var folder to a partition?
To: port-mac68k@netbsd.org <port-mac68k@netbsd.org>
From: Pascal BEZOU <pbezou@makiciel.com>
List: port-mac68k
Date: 02/19/2003 22:09:40
Le 19/02/03 21:06, =AB=A0gabriel rosenkoetter=A0=BB <gr@eclipsed.net> a =E9crit=A0:

> I'd go to single user mode, mount your old partitions read-only,
> mount the new partitions somewhere (call it /new), and then:
>=20
> pax -rw -pe -v /usr /var /new
>=20
> (This assumes you've got /new/usr and /new/var mounted on the new
> partitions. /new's a new directory off of your old / partition.)

Thanks. One more question:
When do I delete the old /usr and /var? right after pax, in single user mod=
e
(mounting the partition read/write), or in the root account before
modification of the fstab? Or somewhere else?