bigbiff bigbiff | 9c75405 | 2013-01-09 09:09:08 -0500 | [diff] [blame] | 1 | #ifndef __STATVFS_H |
| 2 | #define __STATVFS_H |
| 3 | |
| 4 | struct statvfs { |
| 5 | unsigned long f_bsize; /* file system block size */ |
| 6 | unsigned long f_frsize; /* fragment size */ |
| 7 | fsblkcnt_t f_blocks; /* size of fs in f_frsize units */ |
| 8 | fsblkcnt_t f_bfree; /* # free blocks */ |
| 9 | fsblkcnt_t f_bavail; /* # free blocks for non-root */ |
| 10 | fsfilcnt_t f_files; /* # inodes */ |
| 11 | fsfilcnt_t f_ffree; /* # free inodes */ |
| 12 | fsfilcnt_t f_favail; /* # free inodes for non-root */ |
| 13 | unsigned long f_fsid; /* file system ID */ |
| 14 | unsigned long f_flag; /* mount flags */ |
| 15 | unsigned long f_namemax; /* maximum filename length */ |
| 16 | }; |
| 17 | |
| 18 | #endif |