Hallo Werner Am Mittwoch, 25. Oktober 2006 17:12 schrieb Werner Flamme:
Dominik Klein schrieb am 25.10.2006 15:01: [...] man du:
-x, --one-file-system skip directories on different file systems
Ich finds immer angenehm, wenn in einem solchen Fall wirklich nur noch die Verzeichnisse angezeigt werden, die tatsächlich auf dem Root-FS sind.
Lt. manpage sollte -x das bewirken.
Ich habe das auch so verstanden aber: # mount /dev/md0 on / type ext3 (rw,acl,user_xattr) [...] /dev/md2 on /home type ext3 (rw,acl,user_xattr) swan:/data on /nfs/swan type nfs (rw,noexec,nosuid,nodev,addr=x.x.x.x) /dev/sdc1 on /media/usbdisk type ext3 (rw,nosuid,nodev,sync,data=ordered) /dev/sdc1 on /mnt type ext3 (rw) Die Partition sdc1 ist zweimal gemounted, einmal durch den KDE Mechanismus, das zweitemal von Hand. # du -shx /* [...] 35G /home [...] 12K /media 151G /mnt 8.0K /nfs [...] 2.1G /proc [...] # du -sh /* [...] 35G /home [...] 151G /media 151G /mnt 87G /nfs [...] 2.1G /proc [...] Die Option -x skipt also nur /nfs und /media/usbdisk. Irgendwie seh ich das System dahinter nicht. Gruss Jürg