Holds statistics about a file system.
#include <sys/statfs.h> struct statfs { int f_fstyp; size_t f_frsize; blksize_t f_bsize; blkcnt_t f_blocks; uint64_t f_bfree; uint64_t f_files; uint64_t f_ffree; uint64_t f_fspare[2]; char f_fserver[_MAX_SERVER+4]; char f_fname [_MAX_VOLUME+4]; char f_fpack [20]; };
Specifies the volume type:
Specifies the fragment size.
Specifies the size of a block.
Specifies the total number of blocks.
Specifies the number of free blocks.
Specifies the total number of file nodes.
Specifies the number of free file nodes.
Reserved.
Specifies the server name.
Specifies the volume name.
Currently not used.