diff options
author | 1996-10-15 09:07:37 +0000 | |
---|---|---|
committer | 1996-10-15 09:07:37 +0000 | |
commit | 586edb639696c7db7c283cbf1cb3ce0e6ac99be9 (patch) | |
tree | 6a4504ef6b6b9c33c534bbcc94757d88e7ea2a76 | |
parent | ld is smarter then we are! (diff) | |
download | wireguard-openbsd-586edb639696c7db7c283cbf1cb3ce0e6ac99be9.tar.xz wireguard-openbsd-586edb639696c7db7c283cbf1cb3ce0e6ac99be9.zip |
ffs not ufs; as noted in netbsd pr#2842, benco@pendor.mckusick.com
-rw-r--r-- | lib/libc/sys/quotactl.2 | 17 |
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 |