Query: sysfs
OS: hpux
Section: 2
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
sysfs(2) System Calls Manual sysfs(2)NAMEsysfs - get file system type informationSYNOPSISDESCRIPTIONis used to return information about the file system types configured in the system. The number arguments accepted by varies and depends on the opcode. The current recognized opcodes and their functions are: Translate fsname, a null-terminated file-system type identifier, into a file-system type index. Translate fs_index, a file-system type index, into a null-terminated file-system type identifier and write it into the buffer pointed to by buf; this buffer must be at least of size as defined in If there is no file-system type configured at fs_index, a null string is returned for the file-system type identifier. Return one more than the largest file system type configured. This is not the number of file system types configured, because the type numbers may not be contiguous. See the example below.RETURN VALUEUpon successful completion, returns the file-system type index if the opcode is a value of 0 if the opcode is or the number of file system types configured if the opcode is Otherwise, a value of -1 is returned and is set to indicate the error.ERRORSfails if one or more of the following are true and sets to the value indicated: fsname points to an invalid file-system identifier; fs_index is negative or greater than the largest file-system type index; opcode is invalid. buf or fsname points to an invalid user address.EXAMPLESList the filesystem types configured in the system. sysfs(2)
Related Man Pages |
---|
sysfs(2) - opensolaris |
sysfs(2) - osf1 |
sysfs(2) - sunos |
sysfs(2) - freebsd |
sysfs(2) - xfree86 |
Similar Topics in the Unix Linux Community |
---|
more than one fs type on the same file system |
find the largest file in whole system |
Find and display largest file on system |
X11 errors in users .xsession_errors |
File system type |