From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 20:52:48 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2E93416A41F for ; Mon, 26 Sep 2005 20:52:48 +0000 (GMT) (envelope-from jonas.de.buhr@gmx.net) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id 1AE6343D7E for ; Mon, 26 Sep 2005 20:52:42 +0000 (GMT) (envelope-from jonas.de.buhr@gmx.net) Received: (qmail invoked by alias); 26 Sep 2005 20:52:41 -0000 Received: from VPNPOOL01-0149.UNI-MUENSTER.DE (EHLO localhost) [128.176.150.159] by mail.gmx.net (mp021) with SMTP; 26 Sep 2005 22:52:41 +0200 X-Authenticated: #351132 Date: Mon, 26 Sep 2005 22:52:32 +0200 From: jonas To: freebsd-questions@freebsd.org Message-ID: <20050926225232.69a4b5b3@localhost> In-Reply-To: <433850FD.3070403@gish.demon.nl> References: <433850FD.3070403@gish.demon.nl> X-Mailer: Sylpheed-Claws 1.9.11 (GTK+ 2.6.4; i386-portbld-freebsd5.4) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 Subject: Re: Cleanup unused files and other junk ... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Sep 2005 20:52:48 -0000 On Mon, 26 Sep 2005 21:50:21 +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. -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