os.statvfs on FreeBSD

Charles Allen charles at aspen.sweetshade.net
Sat Jun 16 15:27:42 EDT 2001


To follow up to my own followup a bit:

>>>> os.statvfs("/")
> Traceback (most recent call last):
>   File "<stdin>", line 1, in ?
> AttributeError: 'os' module has no attribute 'statvfs'

I should have explained that FreeBSD has no statvfs library routine
(at least 4-STABLE, I don't know about 5-CURRENT).  If the original
poster would explain the specific info he's looking for, perhaps an
alternative can be found.

-- 
Charles Allen



More information about the Python-list mailing list