summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota
diff options
context:
space:
mode:
authoraaron <aaron@openbsd.org>1999-06-05 22:16:18 +0000
committeraaron <aaron@openbsd.org>1999-06-05 22:16:18 +0000
commit6931a8aa257a1619cfa338bae27ba91788a707e0 (patch)
treec75d0b4a02c6536a89344786fa6f7b2ead26766b /usr.sbin/edquota
parentsay media error instead of medium error (diff)
downloadwireguard-openbsd-6931a8aa257a1619cfa338bae27ba91788a707e0.tar.xz
wireguard-openbsd-6931a8aa257a1619cfa338bae27ba91788a707e0.zip
remove trailing whitespace, some Nm cleanup
Diffstat (limited to 'usr.sbin/edquota')
-rw-r--r--usr.sbin/edquota/edquota.844
1 files changed, 24 insertions, 20 deletions
diff --git a/usr.sbin/edquota/edquota.8 b/usr.sbin/edquota/edquota.8
index 93821558ef2..2a7db52218e 100644
--- a/usr.sbin/edquota/edquota.8
+++ b/usr.sbin/edquota/edquota.8
@@ -33,7 +33,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)edquota.8 8.1 (Berkeley) 6/6/93
-.\" $Id: edquota.8,v 1.3 1998/11/08 00:21:29 aaron Exp $
+.\" $Id: edquota.8,v 1.4 1999/06/05 22:16:46 aaron Exp $
.\"
.Dd June 6, 1993
.Dt EDQUOTA 8
@@ -58,8 +58,8 @@
.Fl g
.Sh DESCRIPTION
.Nm edquota
-is a quota editor.
-By default, or if the
+is a quota editor.
+By default, or if the
.Fl u
flag is specified,
one or more users may be specified on the command line.
@@ -71,15 +71,19 @@ or
.Pa /etc/group
files.
For each user a temporary file is created
-with an ASCII representation of the current
+with an
+.Tn ASCII
+representation of the current
disk quotas for that user.
The list of filesystems with user quotas is determined from
.Pa /etc/fstab .
-An editor is invoked on the ASCII file.
-The editor invoked is
+An editor is invoked on the
+.Tn ASCII
+file.
+The editor invoked is
.Xr vi 1
-unless the environment variable
-.Ev EDITOR
+unless the environment variable
+.Ev EDITOR
specifies otherwise.
.Pp
The quotas may then be modified, new quotas added, etc.
@@ -88,8 +92,8 @@ Setting a hard limit to one indicates that no allocations should
be permitted.
Setting a soft limit to one with a hard limit of zero
indicates that allocations should be permitted on
-only a temporary basis (see
-.Fl t
+only a temporary basis (see
+.Fl t
below).
The current usage information in the file is for informational purposes;
only the hard and soft limits can be changed.
@@ -99,7 +103,7 @@ On leaving the editor,
reads the temporary file and modifies the binary
quota files to reflect the changes made.
.Pp
-If the
+If the
.Fl p
flag is specified,
.Nm edquota
@@ -108,17 +112,17 @@ specified for each user specified.
This is the normal mechanism used to
initialize quotas for groups of users.
.Pp
-If the
-.Fl g
+If the
+.Fl g
flag is specified,
.Nm edquota
is invoked to edit the quotas of
one or more groups specified on the command line.
-The
-.Fl p
+The
+.Fl p
flag can be specified in conjunction with
-the
-.Fl g
+the
+.Fl g
flag to specify a prototypical group
to be duplicated among the listed set of groups.
.Pp
@@ -128,15 +132,15 @@ Once the grace period has expired,
the soft limit is enforced as a hard limit.
The default grace period for a filesystem is specified in
.Pa /usr/include/ufs/ufs/quota.h .
-The
+The
.Fl t
flag can be used to change the grace period.
-By default, or when invoked with the
+By default, or when invoked with the
.Fl u
flag, the grace period is set for all the filesystems with user
quotas specified in
.Pa /etc/fstab .
-When invoked with the
+When invoked with the
.Fl g
flag the grace period is
set for all the filesystems with group quotas specified in