os.statvfs on FreeBSD
Andrew MacIntyre
andymac at bullseye.apana.org.au
Sat Jun 16 20:41:36 EDT 2001
On 16 Jun 2001, Martin von Loewis wrote:
> t_messmer at yahoo.com (Tom Messmer) writes:
>
> > 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
> > need this thing!
>
> You probably need to give some more details for those of us without
> access to a FreeBSD system. E.g. post some code snippet, and show what
> error it produces.
FreeBSD doesn't have statvfs(), which is why Python (built from the ports
collection, or built with the supplied configure script) doesn't provide
this wrapper. It does have statfs(), so someone will need to write the
wrapper.
[this is the essence of the response I sent the original poster when he
opened a FreeBSD-ports PR]
--
Andrew I MacIntyre "These thoughts are mine alone..."
E-mail: andrew.macintyre at aba.gov.au (work) | Snail: PO Box 370
andymac at bullseye.apana.org.au (play) | Belconnen ACT 2616
andymac at pcug.org.au (play2) | Australia
More information about the Python-list
mailing list