diff options
author | steve <steve@FreeBSD.org> | 1997-08-17 00:08:40 +0000 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1997-08-17 00:08:40 +0000 |
commit | 109c5376e86b7fdbf2c79439b1dfe56087307bb1 (patch) | |
tree | 3020d28bd56d63045f4c1d7a10c059d44568e329 /lib | |
parent | 9fd542625ea961730c49b9608baeacf9279cc4f3 (diff) | |
download | FreeBSD-src-109c5376e86b7fdbf2c79439b1dfe56087307bb1.zip FreeBSD-src-109c5376e86b7fdbf2c79439b1dfe56087307bb1.tar.gz |
Describe the QCMD macro and its parameters.
PR: docs/4261
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libc/sys/quotactl.2 | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2 index fc7b667..ac6d912 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 |