 |
Index for Section 3 |
|
 |
Alphabetical listing for A |
|
 |
Bottom of page |
|
advfs_get_fset_quotas(3)
NAME
advfs_get_fset_quotas - Obtains fileset quotas for an AdvFS fileset
SYNOPSIS
#include <sys/advfs_syscalls.h>
int advfs_get_fset_quotas(
char *domainName,
char *filesetName,
filesetQuotasT *filesetQuotas );
LIBRARY
AdvFS Library (libadvfs)
PARAMETERS
*domainName
A pointer to the name of the domain.
*filesetName
A pointer to the name of the fileset.
*filesetQuotas
A pointer to a structure that will contain the fileset quotas on
successful return from this function.
DESCRIPTION
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
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
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 failure
conditions:
[EACCES]
The calling program is not running with root privileges.
[EIO]
An I/O error occurred on one of the disks in the file domain.
[ENOENT]
The filesetId parameter does not refer to an existing fileset.
[ENOMEM]
There is not enough memory available for the operation.
SEE ALSO
Commands: chfsets(8), showfsets(8)
Functions: quotactl(2), advfs_set_fset_quotas(3)
 |
Index for Section 3 |
|
 |
Alphabetical listing for A |
|
 |
Top of page |
|