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

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

advfs_get_fset_quotas(3)

Contents


NAME    [Toc]    [Back]

       advfs_get_fset_quotas  -  Obtains  fileset  quotas  for an
       AdvFS fileset

SYNOPSIS    [Toc]    [Back]

       #include <sys/advfs_syscalls.h>

       int advfs_get_fset_quotas(
               char *domainName,
               char *filesetName,
               filesetQuotasT *filesetQuotas );

LIBRARY    [Toc]    [Back]

       AdvFS Library (libadvfs)

PARAMETERS    [Toc]    [Back]

       A pointer to the name of the domain.   A  pointer  to  the
       name  of  the fileset.  A pointer to a structure that will
       contain the fileset quotas on successful return from  this
       function.

DESCRIPTION    [Toc]    [Back]

       This  function  obtains the fileset quotas for the fileset
       specified by the domainName and filesetName parameters and
       returns them in the structure specified in *filesetQuotas.

NOTES    [Toc]    [Back]

       Note that  the  advfs_get_fset_quotas  function  does  not
       obtain:  user or group quota information grace time information


       Use the quotactl system call to obtain such data.  See the
       quotactl(2) reference page for information.

       Clone filesets cannot have fileset quotas.  If you attempt
       to obtain fileset quotas for a  clone  fileset,  an  error
       occurs.

RETURN VALUES    [Toc]    [Back]

       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.

ERRORS    [Toc]    [Back]

       The  function  sets  errno to the specified errors for the
       following failure conditions: The calling program  is  not
       running  with  root  privileges.  An I/O error occurred on
       one of the disks in the file domain.  The filesetId parameter
  does not refer to an existing fileset.  There is not
       enough memory available for the operation.

SEE ALSO    [Toc]    [Back]

      
      
       Commands: chfsets(8), showfsets(8)

       Functions: quotactl(2), advfs_set_fset_quotas(3)



                                         advfs_get_fset_quotas(3)
[ Back ]
 Similar pages
Name OS Title
advfs_set_fset_quotas Tru64 Sets fileset quotas for an AdvFS fileset
rmfset Tru64 Removes a fileset or a clone fileset from an AdvFS file domain
renamefset Tru64 Rename an existing AdvFS fileset
advfs_rmfset Tru64 Removes a fileset or a clone fileset
clonefset Tru64 Creates a read-only copy of an AdvFS fileset.
mkfset Tru64 Creates a fileset in an existing AdvFS domain
advfs_clonefset Tru64 Creates a read-only copy of an active fileset
fs_get_fset_list Tru64 Obtains a list of all the filesets in an AdvFS domain.
fs_get_dom_list Tru64 Obtains a list of all AdvFS domains on the current system.
fs_config_get_devs Tru64 Obtains a list of devices in an AdvFS domain configuration.
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service