diff options
author | sobomax <sobomax@FreeBSD.org> | 2002-09-07 12:26:07 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2002-09-07 12:26:07 +0000 |
commit | 04cbb04f2ee9a17616a80b202ef464b89abcd2f0 (patch) | |
tree | eaecee4b1b34b61fd6b0d092547f9d5790d894a9 /usr.sbin/edquota/edquota.8 | |
parent | 43881a9c90f63314dc5ea38dcd072e77bccf9c34 (diff) | |
download | FreeBSD-src-04cbb04f2ee9a17616a80b202ef464b89abcd2f0.zip FreeBSD-src-04cbb04f2ee9a17616a80b202ef464b89abcd2f0.tar.gz |
Allow edquota(8) to be used for setting up quotas non-interactively (add a
new -e option for that).
Feature requested by: Alex V. Belinsky <fozzy@kievweb.net.ua>
MFC after: 1 month
Diffstat (limited to 'usr.sbin/edquota/edquota.8')
-rw-r--r-- | usr.sbin/edquota/edquota.8 | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/usr.sbin/edquota/edquota.8 b/usr.sbin/edquota/edquota.8 index 8e43dab..15ab449 100644 --- a/usr.sbin/edquota/edquota.8 +++ b/usr.sbin/edquota/edquota.8 @@ -48,11 +48,21 @@ .Op Fl p Ar proto-username .Ar username ... .Nm +.Op Fl u +.Fl e Ar fspath Ns Op : Ns Ar bslim Ns Op : Ns Ar bhlim Ns Op : Ns Ar islim Ns Op : Ns Ar ihlim +.Op Fl e Ar ... +.Ar username ... +.Nm .Fl g .Op Fl f Ar fspath .Op Fl p Ar proto-groupname .Ar groupname ... .Nm +.Fl g +.Fl e Ar fspath Ns Op : Ns Ar bslim Ns Op : Ns Ar bhlim Ns Op : Ns Ar islim Ns Op : Ns Ar ihlim +.Op Fl e Ar ... +.Ar groupname ... +.Nm .Fl t .Op Fl u .Op Fl f Ar fspath @@ -118,6 +128,34 @@ 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 one or more +.Fl e Ar fspath Ns Op : Ns Ar bslim Ns Op : Ns Ar bhlim Ns Op : Ns Ar islim Ns Op : Ns Ar ihlim +options are specified, +.Nm +will non-interactively set quotas defined by +.Ar bslim , +.Ar bhlim , +.Ar islim and +.Ar ihlim +on each particular filesystem referenced by +.Ar fspath . +Here +.Ar bslim +is soft limit on number of blocks, +.Ar bslim +is hard limit on number of blocks, +.Ar islim +is soft limit on number of files and +.Ar ihlim +is hard limit on number of files. +If any of the +.Ar bslim , +.Ar bhlim , +.Ar islim and +.Ar ihlim +values are omitted, it is assumed to be zero, therefore +indicating that no quota should be imposed. +.Pp If invoked with the .Fl f option, @@ -147,6 +185,13 @@ the .Fl g flag to specify a prototypical group to be duplicated among the listed set of groups. +Similarly, +.Fl e +flag can be specified in conjunction with +the +.Fl g +flag to non-interactively set-up quotas on the listed set +of groups. .Pp Users are permitted to exceed their soft limits for a grace period that may be specified per filesystem. |