blob: 082f20a6d568d9074f6edb3a5282597aeec80b24 [file] [log] [blame]
Guido van Rossume7b146f2000-02-04 15:28:42 +00001"""Constants for interpreting the results of os.statvfs() and os.fstatvfs()."""
Guido van Rossum2386d731999-01-06 18:54:57 +00002
Guido van Rossum0bdbe6c1999-01-10 06:09:13 +00003# Indices for statvfs struct members in the tuple returned by
4# os.statvfs() and os.fstatvfs().
Guido van Rossum2386d731999-01-06 18:54:57 +00005
Guido van Rossum0bdbe6c1999-01-10 06:09:13 +00006F_BSIZE = 0 # Preferred file system block size
7F_FRSIZE = 1 # Fundamental file system block size
8F_BLOCKS = 2 # Total number of file system blocks (FRSIZE)
9F_BFREE = 3 # Total number of free blocks
10F_BAVAIL = 4 # Free blocks available to non-superuser
11F_FILES = 5 # Total number of file nodes
12F_FFREE = 6 # Total number of free file nodes
13F_FAVAIL = 7 # Free nodes available to non-superuser
Guido van Rossum00f7da41999-02-10 13:12:07 +000014F_FLAG = 8 # Flags (see your local statvfs man page)
15F_NAMEMAX = 9 # Maximum file name length