Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2001 14:42:39 -0700 (PDT)
From:      David Kirchner <davidk@accretivetg.com>
To:        =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= <neigaard@e-box.dk>
Cc:        <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Running out of space
Message-ID:  <20011023144131.G85958-100000@localhost>
In-Reply-To: <1923044716.20011023234216@e-box.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 23 Oct 2001, [ISO-8859-1] S=F8ren Neigaard wrote:

> I'm running out of space on /usr
>
> How do I figure out what under /usr takes up most space?
>
> I have build some ports, can I easily remove the source, and how do I
> do it?

You can find out which directories are taking up the most space by running
something like this in /usr:

du -k -d 3 .

You can remove the ports source and build directories with:

rm -r /usr/ports/distfiles/* /usr/ports/*/*/work


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?20011023144131.G85958-100000>