1 :mod:`statvfs` --- Constants used with :func:`os.statvfs`
2 =========================================================
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.
18 Preferred file system block size.
23 Fundamental file system block size.
28 Total number of blocks in the filesystem.
33 Total number of free blocks.
38 Free blocks available to non-super user.
43 Total number of file nodes.
48 Total number of free file nodes.
53 Free nodes available to non-super user.
58 Flags. System dependent: see :cfunc:`statvfs` man page.
63 Maximum file name length.