Tony S. Sykes wrote on Mon, Nov 04, 2002 at 04:24:28PM -0000 : > Thanks, that will be my first point of call when I get home.
Keep in mind that we have no idea what your partitioning scheme looks
like. If /var is a seperate partition, then that has no impact on the
amount of space being used on the / partition.
What you need to do is see what space is used by different
subdirectories but omit subdirectories that are their own seperate
partitions. The following command does this:
[root@fiji ~]# du -x -h --max-depth=1 /
21M /etc
28K /mnt
18M /tmp
8.4M /root
8.1M /sbin
161M /lib
6.0M /bin
8.0K /initrd
93M /opt
4.0K /.gconfd
3.3M /tftpboot
32K /user
40K /rd
318M /
[root@fiji ~]# df -h /
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 1.1G 351M 647M 36% /
Compare the second command to all of the actual partitions I have:
[root@fiji ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda2 1.1G 351M 647M 36% /
/dev/sda1 23M 15M 6.7M 70% /boot
none 253M 0 253M 0% /dev/shm
/dev/hda1 3.1G 2.7G 423M 87% /home
/dev/sda8 5.3G 4.4G 928M 83% /spare1
/dev/sda6 3.5G 2.9G 378M 89% /usr
/dev/sda7 1.1G 243M 794M 24% /var
/dev/hda6 7.1G 6.6G 500M 94% /work
/dev/hda7 3.9G 3.2G 568M 85% /work/Mandrake/9.0
bikini:/var/mp3 2.0G 697M 1.2G 38% /home/mp3
Blue skies... Todd
--
MandrakeSoft USA http://www.mandrakesoft.com
Never take no as an answer from someone who's not authorized to say yes.
--Ben Reser on Cooker ML
Cooker Version mandrake-release-9.1-0.1mdk Kernel 2.4.19-18mdk
msg60551/pgp00000.pgp
Description: PGP signature
