freeing up space in /usr

anclo at anclo at
Sat May 17 10:10:17 PDT 2003

I attempted to install (from port) pwgen not realizing that it will require 
some X stuff for which I didn't have space. I ended up running out of space in 
my /usr partition. This is what I got:

/]# df
Filesystem  1K-blocks    Used   Avail Capacity  Mounted on
/dev/ad0s1a    403150   48736  322162    13%    /
/dev/ad0s1f    581934       8  535372     0%    /tmp
/dev/ad1s1e   1469006 1468784 -117298   109%    /usr
/dev/ad0s1e    483822    6072  439046     1%    /var
procfs              4       4       0   100%    /proc


/usr]# du -h -d1
 10M    ./bin
8.2M    ./include
 18M    ./lib
9.6M    ./libdata
 16M    ./libexec
108M    ./local
6.4M    ./sbin
 99M    ./share
416M    ./src
636M    ./ports
 66M    ./compat
4.0K    ./games
9.5M    ./obj
308K    ./home
 31M    ./X11R6
1.4G    .

Is there a relatively painless way to free up some space in /usr?

Thanx for any advice,


More information about the freebsd-questions mailing list