mirror of https://github.com/python/cpython.git
Patch by Steve Clift -- fix the indices now that f_fsid is no longer returned!
This commit is contained in:
parent
49fc666033
commit
00f7da4f1e
|
@ -3,8 +3,6 @@
|
||||||
# Defines constants for interpreting statvfs struct as returned
|
# Defines constants for interpreting statvfs struct as returned
|
||||||
# by os.statvfs() and os.fstatvfs() (if they exist).
|
# by os.statvfs() and os.fstatvfs() (if they exist).
|
||||||
#
|
#
|
||||||
# Suggested usage: from statvfs import *
|
|
||||||
#
|
|
||||||
|
|
||||||
# Indices for statvfs struct members in the tuple returned by
|
# Indices for statvfs struct members in the tuple returned by
|
||||||
# os.statvfs() and os.fstatvfs().
|
# os.statvfs() and os.fstatvfs().
|
||||||
|
@ -17,6 +15,5 @@
|
||||||
F_FILES = 5 # Total number of file nodes
|
F_FILES = 5 # Total number of file nodes
|
||||||
F_FFREE = 6 # Total number of free file nodes
|
F_FFREE = 6 # Total number of free file nodes
|
||||||
F_FAVAIL = 7 # Free nodes available to non-superuser
|
F_FAVAIL = 7 # Free nodes available to non-superuser
|
||||||
F_FSID = 8 # File system ID (meaning is system dependent)
|
F_FLAG = 8 # Flags (see your local statvfs man page)
|
||||||
F_FLAG = 9 # Flags (see your local statvfs man page)
|
F_NAMEMAX = 9 # Maximum file name length
|
||||||
F_NAMEMAX = 10 # Maximum file name length
|
|
||||||
|
|
Loading…
Reference in New Issue