From owner-freebsd-questions@FreeBSD.ORG Tue May 29 21:42:12 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6F9B216A469 for ; Tue, 29 May 2007 21:42:12 +0000 (UTC) (envelope-from puck@volunteerwireless.net) Received: from trueband.net (director.trueband.net [216.163.120.8]) by mx1.freebsd.org (Postfix) with SMTP id 1D87013C468 for ; Tue, 29 May 2007 21:42:11 +0000 (UTC) (envelope-from puck@volunteerwireless.net) Received: (qmail 26554 invoked by uid 1006); 29 May 2007 21:42:10 -0000 Received: from puck@volunteerwireless.net by rs0 by uid 1003 with qmail-scanner-1.16 (spamassassin: 3.1.4. Clear:SA:0(0.1/100.0):. Processed in 0.556303 secs); 29 May 2007 21:42:10 -0000 X-Spam-Status: No, hits=0.1 required=100.0 X-Spam-Level: Received: from unknown (HELO trueband.net) (172.16.0.19) by -v with SMTP; 29 May 2007 21:42:09 -0000 Received: (qmail 14661 invoked from network); 29 May 2007 21:42:06 -0000 Received: from unknown (HELO ?192.168.1.101?) (puck@67.54.233.123) by -v with SMTP; 29 May 2007 21:42:06 -0000 Message-ID: <465C9E53.8010700@volunteerwireless.net> Date: Tue, 29 May 2007 16:42:43 -0500 From: Jack Schneider User-Agent: Thunderbird 1.5.0.10 (X11/20070411) MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <465C73EB.501@volunteerwireless.net> <20070529200847.GB11969@slackbox.xs4all.nl> <465C89B0.1010102@volunteerwireless.net> In-Reply-To: <465C89B0.1010102@volunteerwireless.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: Blown Up /Usr files 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: Tue, 29 May 2007 21:42:12 -0000 Jack Schneider wrote: > Roland Smith wrote: >> On Tue, May 29, 2007 at 01:41:47PM -0500, Jack Schneider wrote: >> >>> Hi, Anyone. >>> My /Usr directory/slice is now over 5.2 GB for a basic workstation 6.2 >>> install. thats 90%+ of the slice. I need help with a procedure to >>> clean >>> it up. The machine is: >>> >>> FreeBSD Growler.maplebend.net 6.2-RELEASE-p3 FreeBSD 6.2-RELEASE-p3 >>> #2: >>> Wed Apr 18 11:16:35 CDT 2007 >>> KDE 3.5.1 >>> >>> Updated /ports & Sources via CVSUP. >>> >>> I have no idea where to start. Where should I look for redundant or >>> obsolete files? >>> >> >> You could clear out the files in /usr/ports/distfiles, because you >> can always >> download those again. >> >> If you have ever built a new kernel & world, you can clean out /usr/obj >> after installing them. >> If you have ports that you don't use, pkg_delete those as well, since >> they're in /usr/local. For instance, if you've upgraded to xorg 7.2, you >> can delete most of the drivers ports. >> >> While you're at it, you can set the nodump flag on both of these >> directories, so that they're no backed up. >> >> Roland > >> Whoa!!! Let me absorb and explore all the goodies 8-) I got from >> you folks... >> >> >> >> I'll let you know how it turns out. one by one.. >> >> >> >> Thanks, Guys >> >> >> >> Jack >> > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" > > As sugested by Roland Smith, I looked at /usr/obj as follows: Growler# cd /usr/obj ; ls -al total 6 drwxr-xr-x 3 root wheel 512 Mar 30 12:08 . drwxr-xr-x 20 root wheel 512 May 29 14:34 .. drwxr-xr-x 3 root wheel 512 Mar 30 12:08 usr Growler# du -hs * 163M usr Growler# rm -rf usr Growler# It appears a copy of the /usr directory & files were placed there. Back in March? I deleted it as you can see, that got me a little space and it's still running... 8-) Jack