sys_sysfs  [fs/filesystems.c]


Returns information about the file system types currently present in the kernel.

Arguments

eax 135
ebx Operation. It may be one of the following values:
1 Translate the file-system identifier string pointed by ecx into a file-system type index.
edx is ignored.
2 Translate the file-system type index ecx into a null-terminated file-system identifier string. This string will be written to the buffer pointed to by edx. Make sure that buffer has enough space to accept the string.
The numbering of the file-system type indexes begins with zero.
3 Return the total number of file system types currently present in the kernel.
ecx and edx are ignored.
ecx This parameter depends on the operation used. See above.
edx This parameter depends on the operation used. See above.

Return values

If the system call succeeds the return value is the file-system index for option 1, zero for option 2, and the number of currently configured file systems for option 3.
If the system call fails the return value is one of the following errno values:

-EFAULT Either ecx or edx is outside your accessible address space.
-EINVAL ecx (option 1) is not a valid file-system type identifier; ecx (option 2) is out-of-bounds; ebx is invalid.

Remarks

n/a

Compatibility

n/a