Os Statvfs
# Python2.x Python os.statvfs() Method
[ Python OS File/Directory Methods](#)
* * *
### Overview
The os.statvfs() method is used to return information about the file system containing the file with file descriptor fd.
### Syntax
The syntax format of the **statvfs()** method is as follows:
os.statvfs()
### Parameters
* **path** -- File path.
### Return Value
The returned structure:
* **f_bsize:** File system block size
* **f_frsize:** Fragment size
* **f_blocks:** Total number of data blocks in the file system
* **f_bfree:** Number of free blocks
* **f_bavail:** Number of free blocks available to non-superusers
* **f_files:** Total number of file nodes
* **f_ffree:** Number of free file nodes
YouTip