Terry Reedy <tjre...@udel.edu> writes: >> os.statvfs('/') >> *OSError: [Errno 0] Error: '/'* >> >> # python --version >> Python 2.6.2 > > 2.6.2 is a few years old. If there is a bug, it might have been fixed > by 2.6.6 released a year ago, or 2.7.2 just a few months ago.
os.statvfs('/') works fine or me on Python 2.6.2 (r262:71600, Jun 4 2010, 18:28:58) [GCC 4.4.3 20100127 (Red Hat 4.4.3-4)] on linux2 -- http://mail.python.org/mailman/listinfo/python-list