(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-cmp.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/allos.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-statcache.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/genindex.html| ]]
|
Next: 6.7 cmp Up: 6. Generic Operating System Previous: 6.5 statcache
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.
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-cmp.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/allos.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/module-statcache.html| ]]
|
Python Library Reference
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/contents.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/modindex.html| ]]
|
[[yurttas/PL/SL/python/docs/core-python-programming/doc/152/lib/genindex.html| ]]
|
Next: 6.7 cmp Up: 6. Generic Operating System Previous: 6.5 statcache
Send comments on this document to python-docs@python.org.