From owner-freebsd-questions Thu Jan 15 18:10:26 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA11135 for questions-outgoing; Thu, 15 Jan 1998 18:10:26 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from allegro.lemis.com (allegro.lemis.com [192.109.197.134]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA10976 for ; Thu, 15 Jan 1998 18:09:06 -0800 (PST) (envelope-from grog@lemis.com) Received: from freebie.lemis.com (freebie.lemis.com [192.109.197.137]) by allegro.lemis.com (8.8.7/8.8.5) with ESMTP id MAA00927; Fri, 16 Jan 1998 12:36:49 +1030 (CST) Received: (from grog@localhost) by freebie.lemis.com (8.8.8/8.8.7) id MAA05287; Fri, 16 Jan 1998 12:36:49 +1030 (CST) (envelope-from grog) Message-ID: <19980116123649.19662@lemis.com> Date: Fri, 16 Jan 1998 12:36:49 +1030 From: Greg Lehey To: Norman C Rice Cc: Dirk-Willem van Gulik , Doug White , Gordon Wang , freebsd-questions@FreeBSD.ORG Subject: Re: (no subject) References: <19980115102046.43283@lemis.com> <19980115210540.45579@emu.sourcee.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.84e In-Reply-To: <19980115210540.45579@emu.sourcee.com>; from Norman C Rice on Thu, Jan 15, 1998 at 09:05:40PM -0500 Organization: LEMIS, PO Box 460, Echunga SA 5153, Australia Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-41-739-7062 WWW-Home-Page: http://www.lemis.com/~grog Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk On Thu, Jan 15, 1998 at 09:05:40PM -0500, Norman C Rice wrote: > On Thu, Jan 15, 1998 at 10:20:46AM +1030, Greg Lehey wrote: >> On Wed, Jan 14, 1998 at 03:28:25PM +0100, Dirk-Willem van Gulik wrote: >>> On Mon, 12 Jan 1998, Doug White wrote: >>> >>>> On Fri, 9 Jan 1998, Gordon Wang wrote: >>>> >>>>> Dear Sir >>>>> I am a FreeBSD 2.2.1 user. >>>>> My /root space is 32M. >>>>> What should I do if I want to make 1t 64M. >>>> >>>> This is not as easy as it sounds. You can't resize a partition without >>>> destroying it. You have to back up the system, rewrite the disklabel, >>>> newfs the new partitions, then restore the data to the new partitions. >>>> Basically, reformat the disk. >>>> >>> Alternatively; you can check what it is that requires size; if it is >>> for example just the '/root' home directory of the 'root' user; you >>> could just move it to /usr/home and modify the /etc/passd file. >> >> I fear that this could cause serious problems, though I can't say >> which. It might be more interesting to use symbolic links for other >> things. I suppose we should ask Gordon why he wants 64 MB: 32 should >> be enough. In particular, you can run into space problems if you have >> /var on the root file system. If this is the problem, you should >> create a directory /usr/var and a symbolic link /var to it: >> >> # mkdir /usr/var >> # mv /var /VAR >> # ln -s /usr/var /var >> # cd /VAR >> # cp -p * /var > ^^ > Perhaps > > # cp -Rp * /var > > would be appropriate to ensure subdirectories are copied. Oops. Yes, very important. Greg