Blown Up /Usr files

Jerry McAllister jerrymc at msu.edu
Tue May 29 19:25:03 UTC 2007


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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list