diff options
author | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-28 09:35:43 +1300 |
---|---|---|
committer | Michael Kerrisk <mtk.manpages@gmail.com> | 2016-03-28 09:35:43 +1300 |
commit | 3b1771041562ebf433a97bd6a74611e07d01c663 (patch) | |
tree | 7a5be4523710fb0b2d4b3eeae272ca3a3d30d30e | |
parent | 4c8a2e1d4c6913018b1d73e9c912051e43a2d57f (diff) | |
download | man-pages-3b1771041562ebf433a97bd6a74611e07d01c663.tar.gz |
quotactl.2: Rework/reorder ERRORS list
Make into a single alphabetically ordered list
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
-rw-r--r-- | man2/quotactl.2 | 74 |
1 files changed, 36 insertions, 38 deletions
diff --git a/man2/quotactl.2 b/man2/quotactl.2 index adc640d1b5..1a3ca44118 100644 --- a/man2/quotactl.2 +++ b/man2/quotactl.2 @@ -386,6 +386,10 @@ a privileged user .RB ( CAP_SYS_ADMIN ) may retrieve the quotas of any user. .TP +.BR Q_XGETNEXTQUOTA " (since Linux 4.6)" +.\" commit 926132c0257a5a8d149a6a395cc3405e55420566 + +.TP .B Q_XSETQLIM Set disk quota limits for user .IR id . @@ -426,6 +430,24 @@ is returned, and is set to indicate the error. .SH ERRORS .TP +.B EACCES +.I cmd +is +.BR Q_QUOTAON , +and the quota file pointed to by +.I addr +exists, but is not a regular file or +is not on the filesystem pointed to by +.IR special . +.TP +.B EBUSY +.I cmd +is +.BR Q_QUOTAON , +but another +.B Q_QUOTAON +had already been performed. +.TP .B EFAULT .I addr or @@ -438,6 +460,12 @@ or .I type is invalid. .TP +.B EINVAL +.I cmd +is +.BR Q_QUOTAON , +but the specified quota file is corrupted. +.TP .B ENOENT The file specified by .I special @@ -459,51 +487,21 @@ The caller lacked the required privilege .RB ( CAP_SYS_ADMIN ) for the specified operation. .TP -.B ESRCH -No disk quota is found for the indicated user. -Quotas have not been turned on for this filesystem. -.LP -If +.B ERANGE .I cmd is .BR Q_SETQUOTA , -.BR quotactl () -may also set -.I errno -to: +but the specified limits are out of the range allowed by the quota format. .TP -.B ERANGE -Specified limits are out of range allowed by quota format. -.LP -If +.B ESRCH +No disk quota is found for the indicated user. +Quotas have not been turned on for this filesystem. +.TP +.B ESRCH .I cmd is .BR Q_QUOTAON , -.BR quotactl () -may also set -.I errno -to: -.TP -.B EACCES -The quota file pointed to by -.I addr -exists, but is not a regular file; or, -the quota file pointed to by -.I addr -exists, but is not on the filesystem pointed to by -.IR special . -.TP -.B EBUSY -.B Q_QUOTAON -attempted, but another -.B Q_QUOTAON -had already been performed. -.TP -.B EINVAL -The quota file is corrupted. -.TP -.B ESRCH -Specified quota format was not found. +but the specified quota format was not found. .SH SEE ALSO .BR quota (1), .BR getrlimit (2), |