diff options
author | Guido van Rossum <guido@python.org> | 1999-02-10 13:12:07 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1999-02-10 13:12:07 (GMT) |
commit | 00f7da4f1eded9d44335d699766b3c401175ca41 (patch) | |
tree | 4be7a3419020853a27b6f09786aeb8c40341e5fa | |
parent | 49fc6660334ec6c582fce1f8fb14b4f804a1b60b (diff) | |
download | cpython-00f7da4f1eded9d44335d699766b3c401175ca41.zip cpython-00f7da4f1eded9d44335d699766b3c401175ca41.tar.gz cpython-00f7da4f1eded9d44335d699766b3c401175ca41.tar.bz2 |
Patch by Steve Clift -- fix the indices now that f_fsid is no longer returned!
-rw-r--r-- | Lib/statvfs.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/Lib/statvfs.py b/Lib/statvfs.py index fdf0451..49dd962 100644 --- a/Lib/statvfs.py +++ b/Lib/statvfs.py @@ -3,8 +3,6 @@ # Defines constants for interpreting statvfs struct as returned # by os.statvfs() and os.fstatvfs() (if they exist). # -# Suggested usage: from statvfs import * -# # Indices for statvfs struct members in the tuple returned by # os.statvfs() and os.fstatvfs(). @@ -17,6 +15,5 @@ F_BAVAIL = 4 # Free blocks available to non-superuser F_FILES = 5 # Total number of file nodes F_FFREE = 6 # Total number of free file nodes F_FAVAIL = 7 # Free nodes available to non-superuser -F_FSID = 8 # File system ID (meaning is system dependent) -F_FLAG = 9 # Flags (see your local statvfs man page) -F_NAMEMAX = 10 # Maximum file name length +F_FLAG = 8 # Flags (see your local statvfs man page) +F_NAMEMAX = 9 # Maximum file name length |