From owner-freebsd-questions Thu Jul 25 16:17:13 2002 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 5811D37B400 for ; Thu, 25 Jul 2002 16:17:11 -0700 (PDT) Received: from clunix.cl.msu.edu (clunix.cl.msu.edu [35.9.2.10]) by mx1.FreeBSD.org (Postfix) with ESMTP id B808C43E6E for ; Thu, 25 Jul 2002 16:17:10 -0700 (PDT) (envelope-from jerrymc@clunix.cl.msu.edu) Received: (from jerrymc@localhost) by clunix.cl.msu.edu (8.11.6+Sun/8.11.6) id g6PNH7216127; Thu, 25 Jul 2002 19:17:07 -0400 (EDT) From: Jerry McAllister Message-Id: <200207252317.g6PNH7216127@clunix.cl.msu.edu> Subject: Re: Linking a directory to another filesystem To: dan@slightlystrange.org Date: Thu, 25 Jul 2002 19:17:05 -0400 (EDT) Cc: FreeBSD-Questions@FreeBSD.ORG (freebsd-questions) In-Reply-To: <20020725230457.GB87732@catflap.home.slightlystrange.org> from "Daniel Bye" at Jul 26, 2002 12:04:57 AM X-Mailer: ELM [version 2.5 PL2] MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > On Thu, Jul 25, 2002 at 02:54:24PM -0700, karl agee wrote: > > sorta newbie question, I think, and not sure where to post it...so I put > > it here. > > > > system: 5.0-current, lots of hard disk space. > > > > I am filling up / with stuff...so much so that the system is crashing > > and rebooting(!) when I print. Problem seems to be that /usr directory > > is located on the / filesystem when I have a /usr filesystem that has > > gobs of space but not much on it. > > > > I want to move the /usr directory contents over and link the /usr > > directory on the / filesystem to the /usr filesystem but not exactly > > sure how to do it (after reading the docs) without messing things up. > > Not sure if I need to soft link or hard link...etc. > > Hmm - it happens when printing? Is your /var just a directory in /, > or on a file system of its own? If it's on /, check disk usage before > you do anything else: > > # du -chxd1 / | sort -k2 > > will show you disk space used per directory in /. > > Of course, if /var resides on its own device, this is irrelevant. Yup, good call. And if the problem is really /var in root's file system, do roughly the same as detailed fro /usr in the earlier post. /var really needs room to grow because it has your spool and log files. ////jerry > > Dan > > -- > Daniel Bye > > PGP Key: ftp://ftp.slightlystrange.org/pgpkey/dan.asc > PGP Key fingerprint: 3D73 AF47 D448 C5CA 88B4 0DCF 849C 1C33 3C48 2CDC > _ > ASCII ribbon campaign ( ) > - against HTML, vCards and X > - proprietary attachments in e-mail / \ > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message