blob: 49dd9620adfbb7323a05b2631ecc8fb358b45626 [file] [log] [blame]
Guido van Rossum2386d731999-01-06 18:54:57 +00001# 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 Rossum0bdbe6c1999-01-10 06:09:13 +00007# Indices for statvfs struct members in the tuple returned by
8# os.statvfs() and os.fstatvfs().
Guido van Rossum2386d731999-01-06 18:54:57 +00009
Guido van Rossum0bdbe6c1999-01-10 06:09:13 +000010F_BSIZE = 0 # Preferred file system block size
11F_FRSIZE = 1 # Fundamental file system block size
12F_BLOCKS = 2 # Total number of file system blocks (FRSIZE)
13F_BFREE = 3 # Total number of free blocks
14F_BAVAIL = 4 # Free blocks available to non-superuser
15F_FILES = 5 # Total number of file nodes
16F_FFREE = 6 # Total number of free file nodes
17F_FAVAIL = 7 # Free nodes available to non-superuser
Guido van Rossum00f7da41999-02-10 13:12:07 +000018F_FLAG = 8 # Flags (see your local statvfs man page)
19F_NAMEMAX = 9 # Maximum file name length