summaryrefslogtreecommitdiffstats
path: root/usr.sbin/edquota/edquota.8
diff options
context:
space:
mode:
authoryar <yar@FreeBSD.org>2001-09-28 10:22:36 +0000
committeryar <yar@FreeBSD.org>2001-09-28 10:22:36 +0000
commit6d3768dfd880616929da3e9e58465a530ca1794b (patch)
tree92a7f132d1709a9c72e17b601aaf124291905d0b /usr.sbin/edquota/edquota.8
parent562ebdfbed6da83efa5110cabff6bbb6c685cfea (diff)
downloadFreeBSD-src-6d3768dfd880616929da3e9e58465a530ca1794b.zip
FreeBSD-src-6d3768dfd880616929da3e9e58465a530ca1794b.tar.gz
Add a new option to edquota(8) - "-f", which will
allow to limit the prototype quota distribution (-p) to a single filesystem. Useful when initializing quotas on a newly added disk. PR: bin/30816 Submitted by: Dmitry Morozovsky <marck@rinet.ru>
Diffstat (limited to 'usr.sbin/edquota/edquota.8')
-rw-r--r--usr.sbin/edquota/edquota.820
1 files changed, 20 insertions, 0 deletions
diff --git a/usr.sbin/edquota/edquota.8 b/usr.sbin/edquota/edquota.8
index 49f8c1f..dffc4ae 100644
--- a/usr.sbin/edquota/edquota.8
+++ b/usr.sbin/edquota/edquota.8
@@ -44,18 +44,22 @@
.Sh SYNOPSIS
.Nm
.Op Fl u
+.Op Fl f Ar fspath
.Op Fl p Ar proto-username
.Ar username ...
.Nm
.Fl g
+.Op Fl f Ar fspath
.Op Fl p Ar proto-groupname
.Ar groupname ...
.Nm
.Fl t
.Op Fl u
+.Op Fl f Ar fspath
.Nm
.Fl t
.Fl g
+.Op Fl f Ar fspath
.Sh DESCRIPTION
.Nm Edquota
is a quota editor.
@@ -113,6 +117,22 @@ for easy setup of default quotas for a group of users.
The uids in question do not have to be currently assigned in
.Pa /etc/passwd .
.Pp
+If invoked with the
+.Fl f
+option,
+.Nm
+will read and modify quotas on the filesystem specified by
+.Ar fspath
+only.
+The
+.Ar fspath
+argument may be either a special device
+or a filesystem mount point.
+The primary purpose of this option is to set the scope for the
+.Fl p
+option, which would overwrite quota records on every
+filesystem with quotas otherwise.
+.Pp
If the
.Fl g
flag is specified,
OpenPOWER on IntegriCloud