Blown Up /Usr files

Roland Smith rsmith at xs4all.nl
Tue May 29 20:08:50 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?

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
-- 
R.F.Smith                                   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070529/7eaeffcf/attachment.pgp


More information about the freebsd-questions mailing list