Yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-statvfs.html

From ZCubes Wiki
Revision as of 18:38, 7 November 2013 by MassBot1 (talk | contribs) (Created page with "<div class="navigation"> {| width="100%" cellspacing="2" align="center" | yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-cmp.html|[[Image:yurttas_...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

6.6 statvfs -- Constants used with os.statvfs()

The statvfs module defines constants so interpreting the result if os.statvfs(), which returns a tuple, can be made without remembering ``magic numbers.'' Each of the constants defined in this module is the index of the entry in the tuple returned by os.statvfs() that contains the specified information.

F_BSIZE
Preferred file system block size.
F_FRSIZE
Fundamental file system block size.
F_BLOCKS
Total number of blocks in the filesystem.
F_BFREE
Total number of free blocks.
F_BAVAIL
Free blocks available to non-super user.
F_FILES
Total number of file nodes.
F_FFREE
Total number of free file nodes.
F_FAVAIL
Free nodes available to non-super user.
F_FLAG
Flags. System dependant: see statvfs() man page.
F_NAMEMAX
Maximum file name length.

Send comments on this document to python-docs@python.org.