/* vfs.h Written by Klaus Kämpf, kkaempf@progis.de */ #ifndef _VFS_H #define _VFS_H #ifndef _FSID_T_ #define _FSID_T_ typedef short fsid_t; #endif struct statfs { long f_type; long f_bsize; /* block size */ long f_blocks; /* total blocks */ long f_bfree; /* free blocks */ long f_bavail; /* free blocks for normal user */ long f_files; /* file slots in file system */ long f_ffree; /* free file slots in file system */ fsid_t f_fsid; /* file system ID */ long f_namelen; /* ?? */ long f_spare[6]; /* reserved */ }; #endif /* _VFS_H */