GNOME Bugzilla – Bug 141493
gdesklets disksize on systems where statvfs is used
Last modified: 2004-12-22 21:47:04 UTC
on system where statvfs is used (in my case Freebsd-CURRENT) the disk size will not be calculated correctly. attaching a patch with changes for Disk.py::__poll_size()
Created attachment 27232 [details] [review] patch Disk.py::__poll_size()
Created attachment 27234 [details] [review] patch for Disk.py using statvfs if available
thank you for the patch but we don't need it. gdesklets/libdesklets/system relies on libgtop and we'll keep using libgtop. (the libdesklets/*.py (including Disk.py has been deprecated).) latest libgtop fs_usage returns block_size, see #125049. gdesklets CVS is ok.. check libdesklets/system/libgtop.py:fsusage
OK, fine. Then I'm closing this bug.
*** Bug 148881 has been marked as a duplicate of this bug. ***
*** Bug 150044 has been marked as a duplicate of this bug. ***