fs_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]

fs_get_fset_list(3)					   fs_get_fset_list(3)

NAME
       fs_get_fset_list	 -  Obtains  a	list  of  all the filesets in an AdvFS
       domain.

SYNOPSIS
       #include <stocfg/fs_config.h>

	 char *fs_get_fset_list(	   char	 *domain_name,		  char
       **err_buf);

       );

LIBRARY
       File System & Storage Configuration Library libstocfg

PARAMETERS
       Points  to  a  domain  name.  Points to a pointer in which the function
       stores an error message.

DESCRIPTION
       This function obtains a list of names of all filesets in a named	 AdvFS
       domain.	 Names	of  both  mounted  filesets and unmounted filesets are
       returned.  Both active and inactive domains can be queried.

NOTES
       The calling function is responsible for freeing	memory	allocated  for
       the message.

RETURN VALUES
       On  successful completion, returns a pointer to a character buffer with
       a list of AdvFS fileset names expressed in XML markup.

       On failure, returns a NULL if there is no fileset  in  the  domain  and
       sets *err_buf to point to the error message.

       See EXAMPLES for more information.

EXAMPLES
       The  following  example shows how to obtain a fileset list by using the
       fs_get_fset_list	 function.    #include	 <sys/types.h>	      #include
       <stdio.h>       #include	 <stocfg/fs_config.h>	   main(int argc, char
       **argv)	     {		  char	 *fsetlist=NULL,*err_buf=NULL;
       if(argc	  <    2)		{		  printf("Usage:   %s:
       <domain_name>\n",*argv);		   exit(0);	    }	      fsetlist
       =  fs_get_fset_list(*(argv  +  1),  &err_buf);	    }  output  .  .  .
       <fset_name>usr</fset_name> <fset_name>var</fset_name>

SEE ALSO
       Functions: fs_get_dom_list(3),  fs_config_get_devs(3),  fs_restore_con‐
       fig(3), fs_save_config(3)

       Files: fs_config_data(4)

							   fs_get_fset_list(3)
[top]

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]
Tweet
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