advfs_set_fset_quotas man page on OSF1

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

advfs_set_fset_quotas(3)			      advfs_set_fset_quotas(3)

NAME
       advfs_set_fset_quotas - Sets fileset quotas for an AdvFS fileset

SYNOPSIS
       #include <sys/advfs_syscalls.h>

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

LIBRARY
       AdvFS Library (libadvfs)

PARAMETERS
       A  pointer  to  the  name  of the domain.  A pointer to the name of the
       fileset.	 A pointer to a structure that contains the fileset quotas.

DESCRIPTION
       This function associates the fileset quotas that are specified  in  the
       filesetQuotas  structure	 with  the fileset specified by the domainName
       and filesetName parameters.

       Note that the advfs_get_set_quotas function does not set: user or group
       quota information grace time information

       Use  the	 quotactl  system call instead.	 See the quotactl(2) reference
       page for information.

RESTRICTIONS
       At least one fileset in the domain nust be mounted.

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

RETURN VALUES
       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
       The function sets errno to the specified errors for the following fail‐
       ure conditions: The calling program is not  running  with  root	privi‐
       leges.	No  fileset  in	 the file domain has been mounted.  The *file‐
       setQuotas parameter contains invalid data.  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.	 The  fileset is mounted read-only:  it may be a clone
       fileset.	 Clone filesets cannot have fileset quotas.

SEE ALSO
       Commands: chfsets(8), showfsets(8)

       Functions: quotactl(2), advfs_get_fset_quotas(3)

						      advfs_set_fset_quotas(3)
[top]
                             _         _         _ 
                            | |       | |       | |     
                            | |       | |       | |     
                         __ | | __ __ | | __ __ | | __  
                         \ \| |/ / \ \| |/ / \ \| |/ /  
                          \ \ / /   \ \ / /   \ \ / /   
                           \   /     \   /     \   /    
                            \_/       \_/       \_/ 
More information is available in HTML format for server OSF1

List of man pages available for OSF1

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