Cleanup unused files and other junk ...
jonas
jonas.de.buhr at gmx.net
Mon Sep 26 13:52:48 PDT 2005
On Mon, 26 Sep 2005 21:50:21 +0200
Kiffin Gish <kiffin at 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
More information about the freebsd-questions
mailing list