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

# 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 dependent: see `statvfs()` man page.

`F_NAMEMAX`
  Maximum file name length.