# statvfs ## **Overview** **Related Modules:** [FS](FS.md) **Description:** Describes file system information. ## **Summary** ## Data Fields

Variable Name

Description

f_bsize

unsigned long 

f_frsize

unsigned long 

f_blocks

fsblkcnt_t 

f_bfree

fsblkcnt_t 

f_bavail

fsblkcnt_t 

f_files

fsfilcnt_t 

f_ffree

fsfilcnt_t 

f_favail

fsfilcnt_t 

f_fsid

unsigned long 

f_flag

unsigned long 

f_namemax

unsigned long 

__reserved [6]

int 

## **Details** ## **Field Documentation** ## \_\_reserved ``` int statvfs::__reserved[6] ``` **Description:** Reserved ## f\_bavail ``` fsblkcnt_t statvfs::f_bavail ``` **Description:** Free blocks for unprivileged users ## f\_bfree ``` fsblkcnt_t statvfs::f_bfree ``` **Description:** Free blocks ## f\_blocks ``` fsblkcnt_t statvfs::f_blocks ``` **Description:** Size of **fs**, in units of **f\_frsize** ## f\_bsize ``` unsigned long statvfs::f_bsize ``` **Description:** File system block size ## f\_favail ``` fsfilcnt_t statvfs::f_favail ``` **Description:** Free inodes for unprivileged users ## f\_ffree ``` fsfilcnt_t statvfs::f_ffree ``` **Description:** Free inodes ## f\_files ``` fsfilcnt_t statvfs::f_files ``` **Description:** File nodes \(inodes\) ## f\_flag ``` unsigned long statvfs::f_flag ``` **Description:** Mount flags ## f\_frsize ``` unsigned long statvfs::f_frsize ``` **Description:** Fragment size ## f\_fsid ``` unsigned long statvfs::f_fsid ``` **Description:** File system ID ## f\_namemax ``` unsigned long statvfs::f_namemax ``` **Description:** Maximum file name length