Kent Stewart
kstewart at owt.com
Fri Mar 12 23:29:52 PST 2004
On Friday 12 March 2004 10:31 pm, kisha at lissaganda.com wrote:
> is there anyway i can reduce /var and /usr i did a
> "make clean" under /usr/ports and didnt reduce the size
> any ideas?
>
>
> %sysctl kern.version
> kern.version: FreeBSD 5.2.1-RELEASE-p1 #6: Sat Mar 6
> 12:54:40 PHT 2004
> dxy at mmp.ccp.ph:/usr/obj/usr/src/sys/MMP
>
> %df -h
> Filesystem Size Used Avail Capacity Mounted on
> /dev/ad0s2a 116M 59M 48M 55% /
> devfs 1.0K 1.0K 0B 100% /dev
> /dev/ad0s2e 124M 6.0K 114M 0% /tmp
> /dev/ad0s2f 27G 20G 5.2G 79% /usr
> /dev/ad0s2d 124M 96M 18M 84% /var
You have to figure out where it is. You can use du -h to see it in human
term. A common problem in /usr is leaving /usr/ports/.../work and
distfiles.
You probably have some large logs left behind in /var. It is also
another place you have to find them manually and clean up. I log
everything and created 1.5 GB /var. It takes awhile but then I still
have to clean up.
Kent
--
Kent Stewart
Richland, WA
http://users.owt.com/kstewart/index.html
More information about the freebsd-questions
mailing list