]> granicus.if.org Git - python/commitdiff
Patch by Steve Clift -- fix the indices now that f_fsid is no longer returned!
authorGuido van Rossum <guido@python.org>
Wed, 10 Feb 1999 13:12:07 +0000 (13:12 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 10 Feb 1999 13:12:07 +0000 (13:12 +0000)
Lib/statvfs.py

index fdf045147d42e8be8f799f5a0a11ff1ea04f236f..49dd9620adfbb7323a05b2631ecc8fb358b45626 100644 (file)
@@ -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