statvfs
The statvfs module defines constants used to interpret the result of the os.statvfs() function on UNIX. The constants defined in this module define the indices into the tuple returned by os.statvfs() for specific information. Constants are listed in the order that items commonly appear in the statvfs tuple.
Constant | Description |
---|---|
F_BSIZE | Preferred file system block size |
F_FRSIZE | Fundamental file system block size |
F_BLOCKS | Total number of blocks in the file system |
F_BFREE | Total number of free blocks |
F_BAVAIL | Free blocks available to a non-superuser |
F_FILES | Total number of file nodes |
F_FFREE | Total number of free file nodes |
F_FAVAIL | Free nodes available to a non-superuser |
F_FLAG | Flags (system-dependent) |
F_NAMEMAX | Maximum filename length |
See Also
os (p. 308), stat ...
Get Python: Essential Reference, Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.