summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1997-08-17 00:08:40 +0000
committerSteve Price <steve@FreeBSD.org>1997-08-17 00:08:40 +0000
commit449a5422311b2f49ad4213839e9bf4e4bcabc5e9 (patch)
treec3991707ecdbe5186460671b134c613ee52ef92f /lib
parent247ca3ded5f35eb3d643e8f511d656829c7ff108 (diff)
Notes
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/sys/quotactl.214
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2
index fc7b6674c749..ac6d912aaeb9 100644
--- a/lib/libc/sys/quotactl.2
+++ b/lib/libc/sys/quotactl.2
@@ -57,6 +57,10 @@ operates on the given filename
.Fa path
for the given user
.Fa id .
+(NOTE: One should use the QCMD macro defined in
+.Ao Pa ufs/ufs/quota.h Ac
+to formulate the value for
+.Fa cmd . )
The address of an optional command specific data structure,
.Fa addr ,
may be given; its interpretation
@@ -67,8 +71,8 @@ For ``ufs'',
a command is composed of a primary command (see below)
and a command type used to interpret the
.Fa id .
-Types are supported for interpretation of user identifiers
-and group identifiers.
+Types are supported for interpretation of user identifiers (USRQUOTA)
+and group identifiers (GRPQUOTA).
The ``ufs'' specific commands are:
.Bl -tag -width Q_QUOTAON
.It Dv Q_QUOTAON
@@ -104,7 +108,7 @@ Get disk quota limits and current usage for the user or group
is a pointer to a
.Fa struct dqblk
structure (defined in
-.Ao Pa ufs/quota.h Ac ) .
+.Ao Pa ufs/ufs/quota.h Ac ) .
.It Dv Q_SETQUOTA
Set disk quota limits for the user or group
(as determined by the command type) with identifier
@@ -113,7 +117,7 @@ Set disk quota limits for the user or group
is a pointer to a
.Fa struct dqblk
structure (defined in
-.Ao Pa ufs/quota.h Ac ) .
+.Ao Pa ufs/ufs/quota.h Ac ) .
The usage fields of the
.Fa dqblk
structure are ignored.
@@ -126,7 +130,7 @@ Set disk usage limits for the user or group
is a pointer to a
.Fa struct dqblk
structure (defined in
-.Ao Pa ufs/quota.h Ac ) .
+.Ao Pa ufs/ufs/quota.h Ac ) .
Only the usage fields are used.
This call is restricted to the super-user.
.It Dv Q_SYNC