Re: Cleanup unused files and other junk ...
On Mon, Sep 26, 2005 at 09:50:21PM +0200, 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? Yes, but that doesn't mean its save. You could install a port called portupgrade and use the util portsclean. This wil clean your working directory, (old) distfiles, (old) packages and more. -- Alex Please copy the original recipients, otherwise I may not read your reply. Howto's based on my ppersonal use, including information about setting up a firewall and creating traffic graphs with MRTG http://www.kruijff.org/alex/FreeBSD/ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleanup unused files and other junk ...
Micah wrote: jonas wrote: On Mon, 26 Sep 2005 21:50:21 +0200 Kiffin Gish <[EMAIL PROTECTED]> 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 x11-fm/xdiskusage ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleanup unused files and other junk ...
jonas wrote: On Mon, 26 Sep 2005 21:50:21 +0200 Kiffin Gish <[EMAIL PROTECTED]> 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleanup unused files and other junk ...
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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleanup unused files and other junk ...
On Mon, 26 Sep 2005 21:50:21 +0200 Kiffin Gish <[EMAIL PROTECTED]> 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 ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: Cleanup unused files and other junk ...
> 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. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"