USTAT
2
2003-08-04
Linux 2.4
Linux Programmer's Manual
dev is a device number identifying a device containing a mounted file system. ubuf is a pointer to a ustat structure that contains the following members: daddr_t f_tfree; /* Total free blocks */ The last two fields, f_fname and f_fpack, are not implemented and will always be filled with null characters.
ubuf will be filled in. On error, -1 is returned, and errno is set appropriately.
but has no ENOSYS condition.
All new programs should use statfs(2) instead.
f_blksize that is unknown elsewhere. HP warns: For some file systems, the number of free inodes does not change. Such file systems will return -1 in the field f_tinode . For some file systems, inodes are dynamically allocated. Such file systems will return the current number of free inodes. |
||||||||||