*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->Tru64 Unix man pages -> fs_get_dom_list (3)              
Title
Content
Arch
Section
 

fs_get_dom_list(3)

Contents


NAME    [Toc]    [Back]

       fs_get_dom_list  -  Obtains a list of all AdvFS domains on
       the current system.

SYNOPSIS    [Toc]    [Back]

       #include <stocfg/fs_config.h> char *fs_get_dom_list(
          char **err_buf);

       );

LIBRARY    [Toc]    [Back]

       File System & Storage Configuration Library libstocfg

PARAMETERS    [Toc]    [Back]

       Points to a pointer that points to a location in which the
       function stores error messages.

DESCRIPTION    [Toc]    [Back]

       This  function  obtains a list of both active and inactive
       AdvFS domain names on a system.

NOTES    [Toc]    [Back]

       The calling function is  responsible  for  freeing  memory
       allocated  for  the  AdvFS  domain name list and the error
       messages.

RETURN VALUES    [Toc]    [Back]

       On successful completion, the function returns a  pointer,
       to  a  character  buffer containing a list of AdvFS domain
       names expressed in XML markup.

       On failure, the function sets **err_buf  to  point  to  an
       error  message  and  returns  a NULL for error conditions,
       including no domain found.

       See EXAMPLES below for more information.

EXAMPLES    [Toc]    [Back]

       The following example shows  use  of  the  fs_get_dom_list
       function   and   output   from   the  function.   #include
       <sys/types.h>           #include      <stocfg/fs_config.h>
            main()            {                   char      *domlist=NULL,*err_buf=NULL;


               domlist = fs_get_dom_list(&err_buf);      } Output
          .
          .
          .                       <domain_name>root</domain_name>
       <domain_name>usr</domain_name>           <domain_name>projects</domain_name>


SEE ALSO    [Toc]    [Back]

      
      
       Functions:   fs_get_fset_list(3),   fs_config_get_devs(3),
       fs_restore_config(3), fs_save_config(3)

       Files: fs_config_data(4)



                                               fs_get_dom_list(3)
[ Back ]
 Similar pages
Name OS Title
fs_get_fset_list Tru64 Obtains a list of all the filesets in an AdvFS domain.
fs_config_get_devs Tru64 Obtains a list of devices in an AdvFS domain configuration.
fixfdmn Tru64 Checks and repairs corrupted AdvFS domains.
defragcron Tru64 Schedules AdvFS file domains for defragmenting
vdf Tru64 Displays disk information for AdvFS domains and filesets
salvage Tru64 Recover file data from damaged AdvFS file domains
advfs_get_fset_quotas Tru64 Obtains fileset quotas for an AdvFS fileset
advfs_get_fdmn_list Tru64 Get an AdvFS file domain list
advfs_get_fset_list Tru64 Obtain a list of all the filesets in an AdvFS file domain
DtMmdbBookGetTabList HP-UX obtains the list of tab sections in a book
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service