Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2007 15:20:47 -0400
From:      Jerry McAllister <jerrymc@msu.edu>
To:        Jack Schneider <puck@volunteerwireless.net>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Blown Up /Usr files
Message-ID:  <20070529192047.GC29880@gizmo.acns.msu.edu>
In-Reply-To: <465C73EB.501@volunteerwireless.net>
References:  <465C73EB.501@volunteerwireless.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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?

First, you need to find out what is taking up all that space.
Do this:

  cd /usr
  du -sk *

Look at the output and find the files that are unexpectedly large
and if possible, figure out why and possibly get rid of them.

Then, cd in to directories that are larger than expected and
run the same command:
  du -sk *

and follow up.

If you did some very large port builds, such as Openoffice, firefox,
thunderbird and some others, it can take up a lot more space than
you expected.   If so, you might want to clean up after ports builds
of those things.   

Anyway, once you have a handle on what is taking up so much space,
you can tell if it is a one-shot thing such as installing a port that
you can just clean up after or an ongoing thing that you have to make 
more manageable.   Then go from there with that information.

////jerry

> 
> Thanks, in advance
> 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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070529192047.GC29880>