/ partition full
Ian Smith
smithi at nimnet.asn.au
Fri Mar 13 06:14:15 PDT 2009
On Fri, 13 Mar 2009 21:33:53 +1000 Warren Liddell <shinjii at maydias.com> wrote:
> I've looked as much as i can, but with only 5meg free on / .. its making
> things in terms of building world & kernel a lil difficult .. what's the
> command so i can see exactly what dir on / is using up all the space so
> i can free it up ?
# du -xd1 / | sort -rn | head -7
167521 /
81728 /root
56918 /boot
7630 /rescue
4354 /sbin
3550 /lib
3058 /etc
sola# du -xd1 /root | sort -rn | head -7
81728 /root
30526 /root/build
23400 /root/mail
7020 /root/p45
4402 /root/bin
842 /root/from_4_5
552 /root/.kde
sola# du -xd1 /boot | sort -rn | head -7
56918 /boot
20048 /boot/kernel
17974 /boot/kernel.old
17968 /boot/kernel.55S_2
18 /boot/defaults
2 /boot/modules
You want -x to not descend into mounts such as /usr or /var. Replace
-d1 with --max-depth=1 if you like extra typing, or are using linux :)
cheers, Ian
More information about the freebsd-questions
mailing list