Issue 2188: Documentation hint about disabling proxy detection.
[python.git] / Doc / library / statvfs.rst
blob0b32f654c74031dbc11b84af2618e12a0406ca05
1 :mod:`statvfs` --- Constants used with :func:`os.statvfs`
2 =========================================================
4 .. module:: statvfs
5    :synopsis: Constants for interpreting the result of os.statvfs().
6 .. sectionauthor:: Moshe Zadka <moshez@zadka.site.co.il>
9 The :mod:`statvfs` module defines constants so interpreting the result if
10 :func:`os.statvfs`, which returns a tuple, can be made without remembering
11 "magic numbers."  Each of the constants defined in this module is the *index* of
12 the entry in the tuple returned by :func:`os.statvfs` that contains the
13 specified information.
16 .. data:: F_BSIZE
18    Preferred file system block size.
21 .. data:: F_FRSIZE
23    Fundamental file system block size.
26 .. data:: F_BLOCKS
28    Total number of blocks in the filesystem.
31 .. data:: F_BFREE
33    Total number of free blocks.
36 .. data:: F_BAVAIL
38    Free blocks available to non-super user.
41 .. data:: F_FILES
43    Total number of file nodes.
46 .. data:: F_FFREE
48    Total number of free file nodes.
51 .. data:: F_FAVAIL
53    Free nodes available to non-super user.
56 .. data:: F_FLAG
58    Flags. System dependent: see :cfunc:`statvfs` man page.
61 .. data:: F_NAMEMAX
63    Maximum file name length.