On Mon, 24 Dec 2001 15:30:06 -0800 (PST), Net Llama wrote: > Symlinks shouldn't use up any more inodes than the symlink itself needs > (which is negligible). I do question your rather odd need for symlinks > pointing to very non-traditional mount points for everything. Why not > just mount /mnt/hda4/opt as /opt in fstab and get rid of the symlink? > Ditto for all the others? > > As for your real problem, look at "df -ih". THat will show the number > of inodes in use. Do you have a large number of small files?
>> My / partition is filled, but the amount of data in it is minimal, to >> wit: >> >> /dev/hda1 3.7G 3.6G 0 100% / >> /dev/hda3 1.4G 1.1G 216M 84% /mnt/hda3 >> /dev/hda4 22G 17G 4.0G 81% /mnt/hda4 >> /dev/hdb1 27G 18G 7.9G 69% /mnt/hdb1 >> /dev/hdc1 71G 46G 21G 68% /mnt/hdc1 <<snip>> >> I have a LOT of stuff pointed to by symbolic links (about 18 gigs >> worth)in my root partition, to wit: >> lrwxrwxrwx 1 root root 14 Dec 15 2000 home -> >> /mnt/hda4/home >> lrwxrwxrwx 1 root root 13 Jul 5 20:39 opt -> >> /mnt/hda4/opt >> lrwxrwxrwx 1 root root 18 Jul 5 21:16 tftpboot -> >> /mnt/hda4/tftpboot >> lrwxrwxrwx 1 root root 13 Jan 4 2001 usr -> >> /mnt/hda4/usr >> lrwxrwxrwx 1 root root 13 Jul 5 21:13 var -> >> /mnt/hda4/var I just left in the links here. I don't understand how these could all be set to mount in /etc/fstab. I thought you could just mount a partition with one mount point there, for example /dev/hda7 /home ext2 defaults 0 0 /dev/hda8 /home/username ext2 defaults 0 0 This can be done because each of these is a separate partition. How would you mount all these directories which are on the same partition? The way he has done it is what comes to mind. Mount /dev/hda4 on /mnt/hda4 and then make directories: home, opt, tftpboot, usr, and var there and then symlink to them. I'd like to know this other way of doing it if it can be done in fstab. Anita _______________________________________________ Linux-users mailing list Archives, Digests, etc at http://linux.nf/mailman/listinfo/linux-users