Skip to Content
Python: Essential Reference, Third Edition
book

Python: Essential Reference, Third Edition

by David Beazley
February 2006
Intermediate to advanced content levelIntermediate to advanced
648 pages
14h 53m
English
Sams
Content preview from Python: Essential Reference, Third Edition

statvfs

The statvfs module defines constants used to interpret the result of the os.statvfs() function on UNIX. The constants defined in this module define the indices into the tuple returned by os.statvfs() for specific information. Constants are listed in the order that items commonly appear in the statvfs tuple.

ConstantDescription
F_BSIZEPreferred file system block size
F_FRSIZEFundamental file system block size
F_BLOCKSTotal number of blocks in the file system
F_BFREETotal number of free blocks
F_BAVAILFree blocks available to a non-superuser
F_FILESTotal number of file nodes
F_FFREETotal number of free file nodes
F_FAVAILFree nodes available to a non-superuser
F_FLAGFlags (system-dependent)
F_NAMEMAXMaximum filename length

See Also

os (p. 308), stat ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Python: Essential Reference

Python: Essential Reference

David M. Beazley

Publisher Resources

ISBN: 0672328623Purchase book