os.statvfs on FreeBSD
charles at aspen.sweetshade.net
Sat Jun 16 20:45:57 CEST 2001
>> For some reason the default installation of python-1.5 and Python-2.0
>> on FreeBSD(From the ports collection) does not include the
>> os.statvfs() routine. Does anyone know A. Why? and B. How to fix it? I
> access to a FreeBSD system. E.g. post some code snippet, and show what
> error it produces.
Python 2.1 (#1, May 7 2001, 21:01:18)
[GCC 2.95.3 [FreeBSD] 20010315 (release)] on freebsd4
Type "copyright", "credits" or "license" for more information.
>>> import os
Traceback (most recent call last):
File "<stdin>", line 1, in ?
AttributeError: 'os' module has no attribute 'statvfs'
More information about the Python-list