манипулировать дисковыми квотами (manipulate disk quotas)
Ошибки (Error)
EACCES
cmd is Q_QUOTAON
, and the quota file pointed to by addr
exists, but is not a regular file or is not on the
filesystem pointed to by special.
EBUSY
cmd is Q_QUOTAON
, but another Q_QUOTAON
had already been
performed.
EFAULT
addr or special is invalid.
EINVAL
cmd or type is invalid.
EINVAL
cmd is Q_QUOTAON
, but the specified quota file is
corrupted.
EINVAL
(since Linux 5.5)
cmd is Q_XQUOTARM
, but addr does not point to valid quota
types.
ENOENT
The file specified by special or addr does not exist.
ENOSYS
The kernel has not been compiled with the CONFIG_QUOTA
option.
ENOTBLK
special is not a block device.
EPERM
The caller lacked the required privilege (CAP_SYS_ADMIN
)
for the specified operation.
ERANGE
cmd is Q_SETQUOTA
, but the specified limits are out of the
range allowed by the quota format.
ESRCH
No disk quota is found for the indicated user. Quotas
have not been turned on for this filesystem.
ESRCH
cmd is Q_QUOTAON
, but the specified quota format was not
found.
ESRCH
cmd is Q_GETNEXTQUOTA
or Q_XGETNEXTQUOTA
, but there is no
ID greater than or equal to id that has an active quota.