February 2006
Intermediate to advanced
648 pages
14h 53m
English
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 ...