Guido van Rossum | 2386d73 | 1999-01-06 18:54:57 +0000 | [diff] [blame] | 1 | # Module 'statvfs' |
| 2 | # |
| 3 | # Defines constants for interpreting statvfs struct as returned |
| 4 | # by os.statvfs() and os.fstatvfs() (if they exist). |
| 5 | # |
| 6 | |
Guido van Rossum | 0bdbe6c | 1999-01-10 06:09:13 +0000 | [diff] [blame] | 7 | # Indices for statvfs struct members in the tuple returned by |
| 8 | # os.statvfs() and os.fstatvfs(). |
Guido van Rossum | 2386d73 | 1999-01-06 18:54:57 +0000 | [diff] [blame] | 9 | |
Guido van Rossum | 0bdbe6c | 1999-01-10 06:09:13 +0000 | [diff] [blame] | 10 | F_BSIZE = 0 # Preferred file system block size |
| 11 | F_FRSIZE = 1 # Fundamental file system block size |
| 12 | F_BLOCKS = 2 # Total number of file system blocks (FRSIZE) |
| 13 | F_BFREE = 3 # Total number of free blocks |
| 14 | F_BAVAIL = 4 # Free blocks available to non-superuser |
| 15 | F_FILES = 5 # Total number of file nodes |
| 16 | F_FFREE = 6 # Total number of free file nodes |
| 17 | F_FAVAIL = 7 # Free nodes available to non-superuser |
Guido van Rossum | 00f7da4 | 1999-02-10 13:12:07 +0000 | [diff] [blame^] | 18 | F_FLAG = 8 # Flags (see your local statvfs man page) |
| 19 | F_NAMEMAX = 9 # Maximum file name length |