GNU Info

Info Node: (python2.1-lib.info)statvfs

(python2.1-lib.info)statvfs


Next: filecmp Prev: statcache Up: Generic Operating System Services
Enter node , (file) or (file)node

Constants used with `os.statvfs()'
==================================

This manual section was written by Moshe Zadka
<moshez@zadka.site.co.il>.
Constants for interpreting the result of `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 dependent: see `statvfs()' man page.

`F_NAMEMAX'
     Maximum file name length.


automatically generated by info2www version 1.2.2.9