freeing up space in /usr
kstewart at owt.com
Sat May 17 10:31:38 PDT 2003
On Saturday 17 May 2003 10:10 am, anclo at anclo.com wrote:
> 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?
Actually, from my experience, you don't have enough system to build most of
the interesting ports. My current set of distfiles and packages use 1.4GB. I
have one system that I mount ../ports and it is on a 10GB fs.
You either need to add more HD space or use prebuilt packages.
> Thanx for any advice,
> freebsd-questions at freebsd.org mailing list
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscribe at freebsd.org"
More information about the freebsd-questions