advfs_get_fset_list man page on DigitalUNIX

Man page or keyword search:  
man Server   12896 pages
apropos Keyword Search (all sections)
Output format
DigitalUNIX logo
[printable version]

advfs_get_fset_list(3)					advfs_get_fset_list(3)

       advfs_get_fset_list  -  Obtain  a  list of all the filesets in an AdvFS
       file domain

       #include <sys/advfs_syscalls.h>

       int advfs_get_fset_list(
	       char domain,
	       unsigned long arraySize,
	       unsigned long *offset,
	       unsigned long *numFilesets,
	       filesetInfoT filesetInfo[] );

       AdvFS Library (libadvfs)

       The name of the AdvFS file domain to be searched	 for  filesets.	  Con‐
       tains  the number of filesetInfoT cells that have been malloced for the
       filesetInfo array.  A pointer for the next iteration of	the  function:
       the  starting  location for the next set of filesets.  The total number
       of filesets in the specified file domain.  The array of fileset	infor‐
       mation  structures  that	 is  filled  in on successful return from this

       Use this function to obtain information about the filesets in an	 AdvFS
       file  domain.  Information about both mounted and unmounted filesets is
       returned. The function returns the information in  the  “filesetInfo[]”

       For  an	example	 of  programming the advfs_get_fset_list function, see
       [reference to be provided].

       We recommend that the application  malloc  an  array  large  enough  to
       gather all fileset information in a single call to the function.

       The  function  can  skip	 filesets or return them multiple times if the
       function is using the offset parameter while another  user  creates  or
       removes filesets in between the calls that this user makes to the func‐

       This function can take a very long time to complete when it  is	called
       to execute on a file domain with a large number of unmounted filesets.

       The  function returns a value of 0 (zero) on successful completion. The
       function returns a value of -1 on failure and sets the value  of	 errno
       to the specific error.

       The  calling program is not running with root privileges.  An I/O error
       occurred on one of the disks in the file domain.	 The file domain spec‐
       ified by the domain parameter does not exist.  There is not enough mem‐
       ory available for the operation

       Commands: clonefset(8), mkfset(8), renamefset(8), rmfset(8)

       Functions: advfs_clonefset(3), advfs_rmfset(3)


List of man pages available for DigitalUNIX

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