HP-UX Reference (11i v3 07/02) - 2 System Calls (vol 5)

q
quotactl(2) quotactl(2)
[EBUSY] Q_QUOTAON attempted while another Q_QUOTAON or
Q_QUOTAOFF is in pro-
gress.
[EDQUOT] User’s disk quota block limit has been reached for this file system.
[EFAULT] The addr or special parameter points to an invalid address. Reliable detection of
this error is implementation-dependent.
[EINVAL] The parameters cmd and/or id are invalid.
[ENODEV] The parameter special contains a type of file system that does not support quotas.
Currently, quotas are supported on HFS and VxFS file systems.
[ENOENT] The file specified by special or addr does not exist.
[ENOSYS] The kernel has not been configured with the disk quota subsystem.
[ENOTBLK] The parameter special is not a block device.
[EOPNOTSUPP] Type of quota not supported on the file system.
[EOVERFLOW] 64-bit values will overflow 32-bit fields, either in the
dqblk struct in the user level
(for
Q_GETQUOTA) or in a 32-bit file system in the kernel (for Q_SETQUOTA64
and Q_SETQLIM64 ).
[EPERM] The call is privileged and the calling process does not have appropriate privileges.
[ESRCH] No disc quota is found for the indicated user or quotas have not been turned on for
this file system.
WARNINGS
The quotactl() system call is incompatible with the 4.2/4.3 BSD implementation of Melbourne quotas
which uses a different system call interface and on-disk data structure.
Use Q_GETQUOTA64 , Q_SETQUOTA64 , and Q_SETQLIM64 commands for 64-bit field values.
AUTHOR
quotactl() was developed by HP and Sun Microsystems, Inc.
SEE ALSO
quota(1), edquota(1M), quotacheck(1M), quotaon(1M), rquotad(1M), mount(2), privileges(5), quota(5).
HP-UX 11i Version 3: February 2007 2 Hewlett-Packard Company 327