From owner-freebsd-questions@FreeBSD.ORG Fri Oct 15 00:33:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 919B816A4CE for ; Fri, 15 Oct 2004 00:33:20 +0000 (GMT) Received: from smtp19.wxs.nl (smtp19.wxs.nl [195.121.6.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id D850043D54 for ; Fri, 15 Oct 2004 00:33:19 +0000 (GMT) (envelope-from freebsd@akruijff.dds.nl) Received: from kruij557.speed.planet.nl (ipd50a97ba.speed.planet.nl [213.10.151.186]) by smtp19.wxs.nl (iPlanet Messaging Server 5.2 Patch 2 (built Jul 14 2004)) with ESMTP id <0I5L00E8QO7IUZ@smtp19.wxs.nl> for freebsd-questions@FreeBSD.org; Fri, 15 Oct 2004 02:33:18 +0200 (CEST) Received: from alex.lan (localhost [127.0.0.1]) by kruij557.speed.planet.nl (8.12.10/8.12.10) with ESMTP id i9F0XIuD001401; Fri, 15 Oct 2004 02:33:18 +0200 Received: (from akruijff@localhost) by alex.lan (8.12.10/8.12.10/Submit) id i9F0XHeH001400; Fri, 15 Oct 2004 02:33:17 +0200 Content-return: prohibited Date: Fri, 15 Oct 2004 02:33:17 +0200 From: Alex de Kruijff In-reply-to: <20041014165633.58211.qmail@web12504.mail.yahoo.com> To: Valerian Galeru Message-id: <20041015003317.GA1064@alex.lan> MIME-version: 1.0 Content-type: text/plain; charset=us-ascii Content-transfer-encoding: 7BIT Content-disposition: inline User-Agent: Mutt/1.4.2.1i References: <20041014165633.58211.qmail@web12504.mail.yahoo.com> X-Authentication-warning: alex.lan: akruijff set sender to freebsd@akruijff.dds.nl using -f cc: freebsd-questions@FreeBSD.org Subject: Re: Making a partition smaller X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 15 Oct 2004 00:33:20 -0000 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/