Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 22:52:32 +0200
From:      jonas <jonas.de.buhr@gmx.net>
To:        freebsd-questions@freebsd.org
Subject:   Re: Cleanup unused files and other junk ...
Message-ID:  <20050926225232.69a4b5b3@localhost>
In-Reply-To: <433850FD.3070403@gish.demon.nl>
References:  <433850FD.3070403@gish.demon.nl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Sep 2005 21:50:21 +0200
Kiffin Gish <kiffin@gish.demon.nl> wrote:

> Is there a good and dependable procedure for cleaning up the file 
> systems from unused junk that just clutters valuable disc space?
> 
> I am already aware of the 'periodic daily' scripts 
> 'clear_tmp_enable=YES' option for the rc.conf file, but where else
> can one safely remove files.

-if you ever did a buildworld then you have the compiled base system
in  /usr/obj, which you can delete.
-you can scan your filesystem for *.core files (a process creates these
when it crashes) and delete them.
-make sure you always do a 'make clean' after installing software from
the ports. i think portupgrade can scan and cleanup all ports workdirs.

but i think in most cases much more spaces is wasted with stuff in your
homedir you forgot about ;)
well at least this is the case for me ... having a deeper look into my
$HOME/tmp and $HOME/stuff can quickly free some hundred MBs :)

cya,
jonas



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