ASPN ActiveState Programmer Network
  ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups | Web Services
SEARCH

Reference
ActivePython 2.5
Python Documentation
Library Reference
11. File and Directory Access
11.1 os.path -- Common pathname manipulations
11.2 fileinput -- Iterate over lines from multiple input streams
11.3 stat -- Interpreting stat() results
11.4 statvfs -- Constants used with os.statvfs()
11.5 filecmp -- File and Directory Comparisons
11.6 tempfile -- Generate temporary files and directories
11.7 glob -- Unix style pathname pattern expansion
11.8 fnmatch -- Unix filename pattern matching
11.9 linecache -- Random access to text lines
11.10 shutil -- High-level file operations
11.11 dircache -- Cached directory listings

MyASPN >> Reference >> ActivePython 2.5 >> Python Documentation >> Library Reference >> 11. File and Directory Access
ActivePython 2.5 documentation

11.4 statvfs -- Constants used with os.statvfs()

The statvfs module defines constants so interpreting the result if os.statvfs(), which returns a tuple, can be made without remembering ``magic numbers.'' Each of the constants defined in this module is the index of the entry in the tuple returned by os.statvfs() that contains the specified information.

F_BSIZE
Preferred file system block size.

F_FRSIZE
Fundamental file system block size.

F_BLOCKS
Total number of blocks in the filesystem.

F_BFREE
Total number of free blocks.

F_BAVAIL
Free blocks available to non-super user.

F_FILES
Total number of file nodes.

F_FFREE
Total number of free file nodes.

F_FAVAIL
Free nodes available to non-super user.

F_FLAG
Flags. System dependent: see statvfs() man page.

F_NAMEMAX
Maximum file name length.
See About this document... for information on suggesting changes.

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState 2004 All rights reserved