1 \section{\module{statvfs
} ---
2 Constants used with
\function{os.statvfs()
}}
4 \declaremodule{standard
}{statvfs
}
5 % LaTeX'ed from comments in module
6 \sectionauthor{Moshe Zadka
}{mzadka@geocities.com
}
7 \modulesynopsis{Constants for interpreting the result of
8 \function{os.statvfs()
}.
}
10 The
\module{statvfs
} module defines constants so interpreting the result
11 if
\function{os.statvfs()
}, which returns a tuple, can be made without
12 remembering ``magic numbers.'' Each of the constants defined in this
13 module is the
\emph{index
} of the entry in the tuple returned by
14 \function{os.statvfs()
} that contains the specified information.
17 \begin{datadesc
}{F_BSIZE
}
18 Preferred file system block size.
21 \begin{datadesc
}{F_FRSIZE
}
22 Fundamental file system block size.
25 \begin{datadesc
}{F_BFREE
}
26 Total number of free blocks.
29 \begin{datadesc
}{F_BAVAIL
}
30 Free blocks available to non-super user.
33 \begin{datadesc
}{F_FILES
}
34 Total number of file nodes.
37 \begin{datadesc
}{F_FFREE
}
38 Total number of free file nodes.
41 \begin{datadesc
}{F_FAVAIL
}
42 Free nodes available to non-superuser.
45 \begin{datadesc
}{F_FLAG
}
46 Flags. System dependant: see
\cfunction{statvfs()
} man page.
49 \begin{datadesc
}{F_NAMEMAX
}
50 Maximum file name length.