statvfs - get file system information
#include <sys/statvfs.h> int statvfs(const char *path, struct statvfs *buf);
Refer to fstatvfs().