statvfs clearance

Sreejith K sreejithemk at gmail.com
Sat Apr 4 12:56:26 CEST 2009


Python's statvfs module contains the following indexes to use with
os.statvfs() that contains the specified information

statvfs.F_BSIZE
    Preferred file system block size.

statvfs.F_FRSIZE
    Fundamental file system block size.

statvfs.F_BLOCKS
    Total number of blocks in the filesystem.

statvfs.F_BFREE
    Total number of free blocks.

statvfs.F_BAVAIL
    Free blocks available to non-super user.

statvfs.F_FILES
    Total number of file nodes.

statvfs.F_FFREE
    Total number of free file nodes.

statvfs.F_FAVAIL
    Free nodes available to non-super user.

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

statvfs.F_NAMEMAX
    Maximum file name length.

Can anyone tell me (or give me some links to know) what are these
values ? The first three I know, I need to know about the rest....



More information about the Python-list mailing list