Am Mittwoch, 28. September 2005 10:45 schrieb Radovan Garabik: > ok, as usual :-), send me the output of: > > stat -f /mnt > python -c 'import os; print os.statvfs("/mnt")' > > where /mnt is the mountpoint that is problematic (if you do not have > many, could you check them all?) > > if you see any negative numbers in the last statement, re-run it with > different versions of python - and we should file a bug against python > (and I'll make some extra checks in pydf so that it is more robust) > > I checked it on escher.debian.org and could not reproduce the bug.
Ok i have 2 partitions so i checked for both... stat -f / File: "/" ID: 0 Namelen: 255 Type: ext2/ext3 Blocks: Total: 925025 Free: 419605 Available: 372615 Size: 4096 Inodes: Total: 470496 Free: 360029 stat -f /home File: "/home" ID: 0 Namelen: 255 Type: ext2/ext3 Blocks: Total: 507228 Free: 382055 Available: 356289 Size: 4096 Inodes: Total: 258048 Free: 256548 python2.1 (2.1.3dfsg-2): python2.1 -c 'import os; print os.statvfs("/")' (4096, 4096, 1802133918588257, 2020764933271418, 1546304191037019, 0, 0, 255, 0, 0) python2.1 -c 'import os; print os.statvfs("/home")' (4096, 4096, 1640913730780508, 1108307721154497, 1101865270110756, 0, 0, 255, 0, 0) python2.2 (2.2.3dfsg-4): python2.2 -c 'import os; print os.statvfs("/")' (4096, 4096, 1802133918588257, 2020764933271418, 1546304191037019, 0, 0, 255, 0, 0) python2.2 -c 'import os; print os.statvfs("/home")' (4096, 4096, 1640913730780508, 1108307721154497, 1101865270110756, 0, 0, 255, 0, 0) python2.3 (2.3.5-8): python2.3 -c 'import os; print os.statvfs("/")' (4096, 4096, 1802133918588257, 2020764933271418, 1546304191037019, 0, 0, 255, 0, 0) python2.3 -c 'import os; print os.statvfs("/home")' (4096, 4096, 1640913730780508, 1108307721154497, 1101865270110756, 0, 0, 255, 0, 0) python2.4 (2.4.1+2.4.2rc1-1): python2.4 -c 'import os; print os.statvfs("/")' (4096, 4096, 1802133918588257, 2020764933271418, 1546304191037019, 0, 0, 255, 0, 0) python2.4 -c 'import os; print os.statvfs("/home")' (4096, 4096, 1640913730780508, 1108307721154497, 1101865270110756, 0, 0, 255, 0, 0) With python2.4 pydf prints the same error as with python2.3, with python2.1 and python2.2 i get the following: Traceback (most recent call last): File "/usr/bin/pydf", line 4, in ? from optparse import OptionParser ImportError: No module named optparse My mount table looks like this: /dev/sda1 on / type ext3 (rw,errors=remount-ro) /dev/sdb1 on /home type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw) devpts on /dev/pts type devpts (rw,gid=5,mode=620) tmpfs on /dev/shm type tmpfs (rw) webby:/export/music on /media/music type nfs (rw,nosuid,soft,nolock,addr=10.0.0.2) webby:/export/home on /shome type nfs (rw,nosuid,soft,nolock,addr=10.0.0.2) Umounting the nfs shares does not help. Greetings Adrian -- GPG Key ID: 42C33D97 | Reg. User #255628 (http://counter.li.org) Fingerprint: 239D 7006 3CF0 8951 9FDA CA63 EF5C C95A 42C3 3D97
pgpG4TFU9HoNE.pgp
Description: PGP signature