10.4. statvfs
β Constants used with os.statvfs()
ΒΆ
Deprecated since version 2.6: The statvfs
module has been removed in Python 3.
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.
-
statvfs.
F_BSIZE
ΒΆ Preferred file system block size.
-
statvfs.
F_FRSIZE
ΒΆ Fundamental file system block size.
-
statvfs.
F_BLOCKS
ΒΆ Total number of blocks in the filesystem.
-
statvfs.
F_BFREE
ΒΆ Total number of free blocks.
-
statvfs.
F_BAVAIL
ΒΆ Free blocks available to non-super user.
-
statvfs.
F_FILES
ΒΆ Total number of file nodes.
-
statvfs.
F_FFREE
ΒΆ Total number of free file nodes.
-
statvfs.
F_FAVAIL
ΒΆ Free nodes available to non-super user.
-
statvfs.
F_FLAG
ΒΆ Flags. System dependent: see
statvfs()
man page.
-
statvfs.
F_NAMEMAX
ΒΆ Maximum file name length.