edquota.8 (166496) | edquota.8 (207736) |
---|---|
1.\" Copyright (c) 1983, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Robert Elz at The University of Melbourne. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" 31.\" @(#)edquota.8 8.1 (Berkeley) 6/6/93 | 1.\" Copyright (c) 1983, 1990, 1993 2.\" The Regents of the University of California. All rights reserved. 3.\" 4.\" This code is derived from software contributed to Berkeley by 5.\" Robert Elz at The University of Melbourne. 6.\" 7.\" Redistribution and use in source and binary forms, with or without 8.\" modification, are permitted provided that the following conditions --- 15 unchanged lines hidden (view full) --- 24.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 25.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 26.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 27.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 28.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 29.\" SUCH DAMAGE. 30.\" 31.\" @(#)edquota.8 8.1 (Berkeley) 6/6/93 |
32.\" $FreeBSD: head/usr.sbin/edquota/edquota.8 166496 2007-02-04 14:26:01Z mpp $ | 32.\" $FreeBSD: head/usr.sbin/edquota/edquota.8 207736 2010-05-07 00:41:12Z mckusick $ |
33.\" 34.Dd June 6, 1993 35.Dt EDQUOTA 8 36.Os 37.Sh NAME 38.Nm edquota 39.Nd edit user quotas 40.Sh SYNOPSIS 41.Nm | 33.\" 34.Dd June 6, 1993 35.Dt EDQUOTA 8 36.Os 37.Sh NAME 38.Nm edquota 39.Nd edit user quotas 40.Sh SYNOPSIS 41.Nm |
42.Op Fl u | 42.Op Fl uh |
43.Op Fl f Ar fspath 44.Op Fl p Ar proto-username 45.Ar username ... 46.Nm 47.Op Fl u 48.Fl e 49.Sm off 50.Ar fspath Op : Ar bslim Op : Ar bhlim Op : Ar islim Op : Ar ihlim 51.Sm on 52.Op Fl e Ar ... 53.Ar username ... 54.Nm 55.Fl g | 43.Op Fl f Ar fspath 44.Op Fl p Ar proto-username 45.Ar username ... 46.Nm 47.Op Fl u 48.Fl e 49.Sm off 50.Ar fspath Op : Ar bslim Op : Ar bhlim Op : Ar islim Op : Ar ihlim 51.Sm on 52.Op Fl e Ar ... 53.Ar username ... 54.Nm 55.Fl g |
56.Op Fl h |
|
56.Op Fl f Ar fspath 57.Op Fl p Ar proto-groupname 58.Ar groupname ... 59.Nm 60.Fl g 61.Fl e 62.Sm off 63.Ar fspath Op : Ar bslim Op : Ar bhlim Op : Ar islim Op : Ar ihlim --- 28 unchanged lines hidden (view full) --- 92file. 93The editor invoked is 94.Xr vi 1 95unless the environment variable 96.Ev EDITOR 97specifies otherwise. 98.Pp 99The quotas may then be modified, new quotas added, etc. | 57.Op Fl f Ar fspath 58.Op Fl p Ar proto-groupname 59.Ar groupname ... 60.Nm 61.Fl g 62.Fl e 63.Sm off 64.Ar fspath Op : Ar bslim Op : Ar bhlim Op : Ar islim Op : Ar ihlim --- 28 unchanged lines hidden (view full) --- 93file. 94The editor invoked is 95.Xr vi 1 96unless the environment variable 97.Ev EDITOR 98specifies otherwise. 99.Pp 100The quotas may then be modified, new quotas added, etc. |
101Block quotas can be specified in bytes (B), kilobytes (K), 102megabytes (M), terabytes (T), petabytes (P), or exabytes (E). 103If no units are specified, kilobytes are assumed. 104Inode quotas can be specified in kiloinodes (K), 105megainodes (M), terainodes (T), petainodes (P), or exainodes (E). 106If no units are specified, the number of inodes specified are used. 107If the 108.Fl h 109flag is specified, the editor will always display the 110block usage and limits in a more human readable format 111rather than displaying them in the historic kilobyte format. |
|
100Setting a quota to zero indicates that no quota should be imposed. 101Setting a hard limit to one indicates that no allocations should 102be permitted. 103Setting a soft limit to one with a hard limit of zero 104indicates that allocations should be permitted only on 105a temporary basis (see 106.Fl t 107below). --- 46 unchanged lines hidden (view full) --- 154.Ar ihlim 155is the hard limit on the number of files. 156If any of the 157.Ar bslim , bhlim , islim , 158and 159.Ar ihlim 160values is omitted, it is assumed to be zero, therefore 161indicating that no particular quota should be imposed. | 112Setting a quota to zero indicates that no quota should be imposed. 113Setting a hard limit to one indicates that no allocations should 114be permitted. 115Setting a soft limit to one with a hard limit of zero 116indicates that allocations should be permitted only on 117a temporary basis (see 118.Fl t 119below). --- 46 unchanged lines hidden (view full) --- 166.Ar ihlim 167is the hard limit on the number of files. 168If any of the 169.Ar bslim , bhlim , islim , 170and 171.Ar ihlim 172values is omitted, it is assumed to be zero, therefore 173indicating that no particular quota should be imposed. |
174Block quotas can be specified in bytes (B), kilobytes (K), 175megabytes (M), terabytes (T), petabytes (P), or exabytes (E). 176If no units are specified, kilobytes are assumed. 177Inode quotas can be specified in kiloinodes (K), 178megainodes (M), terainodes (T), petainodes (P), or exainodes (E). 179If no units are specified, the number of inodes specified are used. |
|
162.Pp 163If invoked with the 164.Fl f 165option, 166.Nm 167will read and modify quotas on the file system specified by 168.Ar fspath 169only. --- 77 unchanged lines hidden --- | 180.Pp 181If invoked with the 182.Fl f 183option, 184.Nm 185will read and modify quotas on the file system specified by 186.Ar fspath 187only. --- 77 unchanged lines hidden --- |