summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authormpp <mpp@FreeBSD.org>2007-02-01 02:31:02 +0000
committermpp <mpp@FreeBSD.org>2007-02-01 02:31:02 +0000
commit6236fe8975811e4330e06c4a76140787827aac68 (patch)
treeeb8a1e44d0451c4fdc66ab9b502b1a0f35728320 /lib
parent261dbc8078b5c1c5f3ffd75cdddf2e49c8a88fd6 (diff)
downloadFreeBSD-src-6236fe8975811e4330e06c4a76140787827aac68.zip
FreeBSD-src-6236fe8975811e4330e06c4a76140787827aac68.tar.gz
Docment the acceptable values for the id parameter.
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/quotactl.217
1 files changed, 16 insertions, 1 deletions
diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2
index 5ff52d4..4b4dca5 100644
--- a/lib/libc/sys/quotactl.2
+++ b/lib/libc/sys/quotactl.2
@@ -54,7 +54,7 @@ given by
.Fa cmd
operates on the given filename
.Fa path
-for the given user
+for the given user or group
.Fa id .
(NOTE: One should use the QCMD macro defined in
.In ufs/ufs/quota.h
@@ -65,6 +65,12 @@ The address of an optional command specific data structure,
may be given; its interpretation
is discussed below with each command.
.Pp
+For commands that use the
+.Fa id
+identifier, it must be either -1 or any positive value.
+The value of -1 indicates that the current UID or GID should be used.
+Any other negative value will return an error.
+.Pp
Currently quotas are supported only for the
.Dq ufs
file system.
@@ -175,6 +181,15 @@ In
and
.Dv Q_SETQUOTA ,
quotas are not currently enabled for this file system.
+.Pp
+The
+.Fa id
+argument to
+.Dv Q_GETQUOTA ,
+.Dv Q_SETQUOTA
+or
+.Dv Q_SETUSE
+is a negative value.
.It Bq Er EACCES
In
.Dv Q_QUOTAON ,
OpenPOWER on IntegriCloud