summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog1
-rw-r--r--quotactl.216
2 files changed, 13 insertions, 4 deletions
diff --git a/Changelog b/Changelog
index 1a7b465..62990d4 100644
--- a/Changelog
+++ b/Changelog
@@ -1,4 +1,5 @@
Changes in quota-tools from 3.16 to 3.17
+* Updated quotactl(2) manpage to mention possible ERANGE error (Jan Kara)
* Fix hostname checking of rpc.rquotad. It could allow access even though hostname was in /etc/hosts.deny (Jan Kara)
* do not allow setting of user's grace time when softlimit is not exceeded (Jan Kara)
* fix reference to rpc manpage (anonymous reporter)
diff --git a/quotactl.2 b/quotactl.2
index 1b23b12..1943cf1 100644
--- a/quotactl.2
+++ b/quotactl.2
@@ -268,16 +268,24 @@ is not a block device.
The call is privileged and the caller was not the super-user.
.TP
.SM ESRCH
-No disc quota is found for the indicated user.
-.IP
-Quotas have not been turned on for this filesystem.
+No disc quota is found for the indicated user. Quotas have not been turned on for this filesystem.
+.LP
+If
+.I cmd
+is
+.BR \s-1Q_SETQUOTA\s0 ,
+.B quotactl(\|)
+may also set errno to:
+.TP 15
+.SM ERANGE
+Specified limits are out of range allowed by quota format.
.LP
If
.I cmd
is
.BR \s-1Q_QUOTAON\s0 ,
.B quotactl(\|)
-may set errno to:
+may also set errno to:
.TP 15
.SM EACCES
The quota file pointed to by