summaryrefslogtreecommitdiff
path: root/lib/libc
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-15 09:07:38 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1996-10-15 09:07:38 +0000
commit503463c7a589b3f4eff9c07c0c8b56e5f0f2499e (patch)
tree992576a231cc0b4a3f3f53efc0ef5d82c5406131 /lib/libc
parent0d7a614f67c8adce78dbaab2770d040a59d5d2f3 (diff)
ffs not ufs; as noted in netbsd pr#2842, benco@pendor.mckusick.com
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/sys/quotactl.217
1 files changed, 7 insertions, 10 deletions
diff --git a/lib/libc/sys/quotactl.2 b/lib/libc/sys/quotactl.2
index 9dca785433d..4f36d6a3807 100644
--- a/lib/libc/sys/quotactl.2
+++ b/lib/libc/sys/quotactl.2
@@ -43,7 +43,7 @@
.Nm quotactl
.Nd manipulate filesystem quotas
.Sh SYNOPSIS
-.Fd #include <ufs/quota.h> /* for ufs quotas */
+.Fd #include <ufs/ufs/quota.h> /* for ufs quotas */
.Ft int
.Fn quotactl "const char *path" "int cmd" "int id" "char *addr"
.Sh DESCRIPTION
@@ -63,14 +63,14 @@ The address of an optional command specific data structure,
may be given; its interpretation
is discussed below with each command.
.Pp
-Currently quotas are supported only for the ``ufs'' filesystem.
-For ``ufs'',
+Currently quotas are supported only for the ``ffs'' filesystem.
+For ``ffs'',
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.
-The ``ufs'' specific commands are:
+The ``ffs'' specific commands are:
.Bl -tag -width Q_QUOTAON
.It Dv Q_QUOTAON
Enable disk quotas for the filesystem specified by
@@ -104,8 +104,7 @@ Get disk quota limits and current usage for the user or group
.Fa Addr
is a pointer to a
.Fa struct dqblk
-structure (defined in
-.Ao Pa ufs/quota.h Ac ) .
+structure.
.It Dv Q_SETQUOTA
Set disk quota limits for the user or group
(as determined by the command type) with identifier
@@ -113,8 +112,7 @@ Set disk quota limits for the user or group
.Fa Addr
is a pointer to a
.Fa struct dqblk
-structure (defined in
-.Ao Pa ufs/quota.h Ac ) .
+structure.
The usage fields of the
.Fa dqblk
structure are ignored.
@@ -126,8 +124,7 @@ Set disk usage limits for the user or group
.Fa Addr
is a pointer to a
.Fa struct dqblk
-structure (defined in
-.Ao Pa ufs/quota.h Ac ) .
+structure.
Only the usage fields are used.
This call is restricted to the super-user.
.It Dv Q_SYNC