Cleanup unused files and other junk ...

Michał Masłowski mtmi at o2.pl
Mon Sep 26 12:59:06 PDT 2005


> 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?

From hier(7):
"/tmp/      temporary files that are not guaranteed to persist across sys-
                tem reboots",
so clearing /tmp is safe for files not used after last boot.

Deleting distfiles is safe if they aren't used.


More information about the freebsd-questions mailing list