Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Oct 2001 09:06:43 +0200 (CEST)
From:      Nils Holland <nils@tisys.org>
To:        =?ISO-8859-1?B?U/hyZW4gTmVpZ2FhcmQ=?= <neigaard@e-box.dk>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Running out of space
Message-ID:  <20011024090404.Q729-100000@howie.ncptiddische.net>
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, Søren 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?

Well, first of all, you can clean your ports build directory. You can do
this individually for the directory of each port that you have build, but
if you no longer remember all of them, and if you want to make sure that
you don't forget anything, simply do:

cd /usr/ports
make clean

That may take a while, but it should help. Additionally, you can delete
everything found under /usr/ports/distfiles. However, if you decide to
re-build one of your already installed ports, the files in there would be
needed again, and since they are no longer there, FreeBSD would try to
fetch them from the Internet (which is not a problem at all, but takes a
little longer than if the necessary files would still be on your HD).

Greetings
Nils


Nils Holland
Ti Systems - FreeBSD in Tiddische, Germany
http://www.tisys.org * nils@tisys.org


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?20011024090404.Q729-100000>