Returns information about a mounted file system.
Arguments
eax |
62 |
ebx |
Device number identifying the device containing the mounted file system. |
ecx |
Pointer to a ustat structure
which will receive the information:
struc ustat
{
.f_tfree rd 1
.f_tinode rd 1
.f_fname rb 6
.f_fpack rb 6
} |
ustat members:
f_tfree
Total free blocks.
f_tinode
Number of free inodes.
f_fname
Not implemented and will always be filled with null bytes.
f_fpack
Not implemented and will always be filled with null bytes.
|
Return values
If the system call succeeds the return value is 0.
If the system call fails the return value is one of the following errno values:
-EFAULT |
ecx points outside of your accessible address space. |
-EINVAL |
ebx does not refer to a device containing a mounted file system. |
-ENOSYS |
The mounted file system referenced by ebx does not support this operation. |
|
Remarks
sys_ustat is deprecated and has only been provided for compatibility. All new programs should use sys_statfs instead.
Compatibility
n/a |