Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 2002 00:04:57 +0100
From:      Daniel Bye <dan@slightlystrange.org>
To:        freebsd-questions <FreeBSD-Questions@FreeBSD.ORG>
Subject:   Re: Linking a directory to another filesystem
Message-ID:  <20020725230457.GB87732@catflap.home.slightlystrange.org>
In-Reply-To: <1027634062.758.4.camel@enterprise.workgroup>
References:  <1027634062.758.4.camel@enterprise.workgroup>

next in thread | previous in thread | raw e-mail | index | archive | help
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.

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




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