Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 26 Sep 2005 15:28:09 -0700
From:      Micah <micahjon@ywave.com>
To:        jonas <jonas.de.buhr@gmx.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Cleanup unused files and other junk ...
Message-ID:  <433875F9.1010108@ywave.com>
In-Reply-To: <20050926225232.69a4b5b3@localhost>
References:  <433850FD.3070403@gish.demon.nl> <20050926225232.69a4b5b3@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help


jonas wrote:
> 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

For finding those long forgotten things that take up MBs, I've found 
kdirstat (for KDE) to be quite useful.  Helped me free up a few 
gigabytes - all located in my home dir of course. :)

Later,
Micah



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