statvfs clearance

Hrvoje Niksic hniksic at
Sat Apr 4 15:48:38 CEST 2009

Sreejith K <sreejithemk at> writes:

> Python's statvfs module contains the following indexes to use with
> os.statvfs() that contains the specified information
> statvfs.F_BSIZE
>     Preferred file system block size.
> statvfs.F_NAMEMAX
>     Maximum file name length.
> Can anyone tell me (or give me some links to know) what are these
> values ? The first three I know, I need to know about the rest....

You can simply print them, they are integers:

>>> import statvfs
>>> statvfs.F_FLAG

More information about the Python-list mailing list