From: jnrees Date: Fri, 26 Jan 1990 20:44:35 +0000 (+0000) Subject: DIAGNOSTICS section rewritten. X-Git-Tag: release77~1051 X-Git-Url: http://andersk.mit.edu/gitweb/moira.git/commitdiff_plain/4b37a7dbb5d9c0b1371c7fec6a2e147261c67647 DIAGNOSTICS section rewritten. --- diff --git a/man/setquota.8 b/man/setquota.8 index fbc9e12e..36a2404e 100644 --- a/man/setquota.8 +++ b/man/setquota.8 @@ -40,9 +40,16 @@ are set to the given quota (plus usage with the .B \-u option). .SH DIAGNOSTICS -An error will occur if you attempt to set the quota for a user whose -uid is higher than any other recorded in the quotas file. To fix -this, you must grow the quotas file first. +.B setquota +will return a non-zero status if the user is not root, if the uid is +not between 0 and 32767 inclusive, if the low-uid is higher than the +high-uid, if the quota is less than zero, or if quotas are not enabled +on the given device or partition. + +The previous bug which required the user to manually grow the quotas +file is fixed. +.B setquota +automatically grows the quotas file if necessary. .SH AUTHORS Bill Sommerfeld, MIT Project Athena .br