Cleanup unused files and other junk ...

RW list-freebsd-2004 at morbius.sent.com
Mon Sep 26 14:00:51 PDT 2005


On Monday 26 September 2005 20:50, Kiffin Gish 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.
>
> For example, is it safe to delete all distfiles?

Deleting *all* distfiles is a bad idea if you plan on keeping your ports up to 
date; the majority of port updates involve applying patches to the same 
source files.

portupgrade comes with a utility called portsclean that will clean out 
unneccessary files from the port system.


More information about the freebsd-questions mailing list