blob: 6e3e39fd560307013d7742969127bc46477df8f7 [file] [log] [blame]
bigbiff bigbiff9c754052013-01-09 09:09:08 -05001#ifndef __STATVFS_H
2#define __STATVFS_H
3
4struct 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