Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Oct 2004 02:33:17 +0200
From:      Alex de Kruijff <freebsd@akruijff.dds.nl>
To:        Valerian Galeru <valerian_ro@yahoo.com>
Cc:        freebsd-questions@FreeBSD.org
Subject:   Re: Making a partition smaller
Message-ID:  <20041015003317.GA1064@alex.lan>
In-Reply-To: <20041014165633.58211.qmail@web12504.mail.yahoo.com>
References:  <20041014165633.58211.qmail@web12504.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Oct 14, 2004 at 09:56:33AM -0700, Valerian Galeru wrote:
> How to make the /usr(for example) smaller ?

There isn't a program that does this for you, without having to remove
the contence. (Somebody will correct me if i'm wrong.)

1. You have to copy the contence to another dir.
2. Then umount mount the section
3. Remove the directory and create a link. (because this is usr)
4. Delete the partition and create a smaller one. With a diffent dir.
5. Copy the contence back.
6. Remove the link and create the usr directory
7. unmount the diffent dir and mount usr

-- 
Alex

Please copy the original recipients, otherwise I may not read your reply.
WWW: http://www.kruijff.org/alex/FreeBSD/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041015003317.GA1064>