sysfs man page on HP-UX

Man page or keyword search:  
man Server   10987 pages
apropos Keyword Search (all sections)
Output format
HP-UX logo
[printable version]

sysfs(2)							      sysfs(2)

       sysfs - get file system type information

       is used to return information about the file system types configured in
       the system.  The number arguments accepted by varies and depends on the

       The current recognized opcodes and their functions are:

	      Translate	     fsname,  a null-terminated file-system type iden‐
			     tifier, 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

	      Return	     one more than the largest file system  type  con‐
			     figured.	This  is not the number of file system
			     types configured, because the  type  numbers  may
			     not be contiguous.	 See the example below.

       Upon  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.

       fails if one or more of the following are true and sets	to  the	 value

	      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.

       List the filesystem types configured in the system.


List of man pages available for HP-UX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
Vote for polarhome
Free Shell Accounts :: the biggest list on the net