From 00f7da4f1eded9d44335d699766b3c401175ca41 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 10 Feb 1999 13:12:07 +0000 Subject: Patch by Steve Clift -- fix the indices now that f_fsid is no longer returned! --- Lib/statvfs.py | 7 ++----- 1 file 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 -- cgit v0.12