From owner-freebsd-questions@FreeBSD.ORG Mon Sep 26 22:28:13 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 9635D16A41F for ; Mon, 26 Sep 2005 22:28:13 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: from smtpout1.ywave.com (ycomradius.yelmtel.com [216.227.100.60]) by mx1.FreeBSD.org (Postfix) with SMTP id 35A5A43D48 for ; Mon, 26 Sep 2005 22:28:12 +0000 (GMT) (envelope-from micahjon@ywave.com) Received: (qmail 17852 invoked by uid 502); 26 Sep 2005 22:28:11 -0000 Received: from dsl-12-178-99-132.ywave.com (HELO ?192.168.1.65?) (micahjon@ywave.com@12.178.99.132) by 0 with SMTP; 26 Sep 2005 22:28:11 -0000 X-CLIENT-IP: 12.178.99.132 X-CLIENT-HOST: dsl-12-178-99-132.ywave.com Message-ID: <433875F9.1010108@ywave.com> Date: Mon, 26 Sep 2005 15:28:09 -0700 From: Micah User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050924) X-Accept-Language: en-us, en MIME-Version: 1.0 To: jonas References: <433850FD.3070403@gish.demon.nl> <20050926225232.69a4b5b3@localhost> In-Reply-To: <20050926225232.69a4b5b3@localhost> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org 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 22:28:13 -0000 jonas wrote: > 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 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