home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 January / Chip_2003-01_cd2.bin / convert / eJayMp3Pro / mp3pro_demo.exe / STATVFS.PY < prev    next >
Encoding:
Text File  |  1999-02-11  |  768 b   |  20 lines

  1. # Module 'statvfs'
  2. #
  3. # Defines constants for interpreting statvfs struct as returned
  4. # by os.statvfs() and os.fstatvfs() (if they exist).
  5. #
  6.  
  7. # Indices for statvfs struct members in the tuple returned by
  8. # os.statvfs() and os.fstatvfs().
  9.  
  10. F_BSIZE   = 0        # Preferred file system block size
  11. F_FRSIZE  = 1        # Fundamental file system block size
  12. F_BLOCKS  = 2        # Total number of file system blocks (FRSIZE)
  13. F_BFREE   = 3        # Total number of free blocks
  14. F_BAVAIL  = 4        # Free blocks available to non-superuser
  15. F_FILES   = 5        # Total number of file nodes
  16. F_FFREE   = 6        # Total number of free file nodes
  17. F_FAVAIL  = 7        # Free nodes available to non-superuser
  18. F_FLAG    = 8        # Flags (see your local statvfs man page)
  19. F_NAMEMAX = 9        # Maximum file name length
  20.