Commit | Line | Data |
---|---|---|
15637ed4 RG |
1 | .\" Copyright (c) 1983, 1990, 1991 Regents of the University of California. |
2 | .\" All rights reserved. | |
3 | .\" | |
4 | .\" This code is derived from software contributed to Berkeley by | |
5 | .\" Robert Elz at The University of Melbourne. | |
6 | .\" Redistribution and use in source and binary forms, with or without | |
7 | .\" modification, are permitted provided that the following conditions | |
8 | .\" are met: | |
9 | .\" 1. Redistributions of source code must retain the above copyright | |
10 | .\" notice, this list of conditions and the following disclaimer. | |
11 | .\" 2. Redistributions in binary form must reproduce the above copyright | |
12 | .\" notice, this list of conditions and the following disclaimer in the | |
13 | .\" documentation and/or other materials provided with the distribution. | |
14 | .\" 3. All advertising materials mentioning features or use of this software | |
15 | .\" must display the following acknowledgement: | |
16 | .\" This product includes software developed by the University of | |
17 | .\" California, Berkeley and its contributors. | |
18 | .\" 4. Neither the name of the University nor the names of its contributors | |
19 | .\" may be used to endorse or promote products derived from this software | |
20 | .\" without specific prior written permission. | |
21 | .\" | |
22 | .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND | |
23 | .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE | |
24 | .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE | |
25 | .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE | |
26 | .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL | |
27 | .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS | |
28 | .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) | |
29 | .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT | |
30 | .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY | |
31 | .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF | |
32 | .\" SUCH DAMAGE. | |
33 | .\" | |
34 | .\" @(#)quotaon.8 6.7 (Berkeley) 3/16/91 | |
35 | .\" | |
36 | .Dd March 16, 1991 | |
37 | .Dt QUOTAON 8 | |
38 | .Os BSD 4.2 | |
39 | .Sh NAME | |
40 | .Nm quotaon , | |
41 | .Nm quotaoff | |
42 | .Nd turn filesystem quotas on and off | |
43 | .Sh SYNOPSIS | |
44 | .Nm quotaon | |
45 | .Op Fl g | |
46 | .Op Fl u | |
47 | .Op Fl v | |
48 | .Ar filesystem Ar ... | |
49 | .Nm quotaon | |
50 | .Op Fl g | |
51 | .Op Fl u | |
52 | .Op Fl v | |
53 | .Fl a | |
54 | .Nm quotaoff | |
55 | .Op Fl g | |
56 | .Op Fl u | |
57 | .Op Fl v | |
58 | .Ar filesystem Ar ... | |
59 | .Nm quotaoff | |
60 | .Op Fl g | |
61 | .Op Fl u | |
62 | .Op Fl v | |
63 | .Fl a | |
64 | .Sh DESCRIPTION | |
65 | .Nm Quotaon | |
66 | announces to the system that disk quotas should be enabled on one or more | |
67 | filesystems. | |
68 | .Nm Quotaoff | |
69 | announces to the system that the specified | |
70 | filesystems should have any disk quotas | |
71 | diskquotas turned off. | |
72 | The filesystems specified must have entries in | |
73 | .Pa /etc/fstab | |
74 | and be mounted. | |
75 | .Nm Quotaon | |
76 | expects each filesystem to have quota files named | |
77 | .Pa quota.user | |
78 | and | |
79 | .Pa quota.group | |
80 | which are located at the root of the associated file system. | |
81 | These defaults may be overridden in | |
82 | .Pa /etc/fstab . | |
83 | By default both user and group quotas are enabled. | |
84 | .Pp | |
85 | Available options: | |
86 | .Bl -tag -width Ds | |
87 | .It Fl a | |
88 | If the | |
89 | .Fl a | |
90 | flag is supplied in place of any filesystem names, | |
91 | .Nm quotaon Ns / Ns quotaoff | |
92 | will enable/disable all the filesystems indicated in | |
93 | .Pa /etc/fstab | |
94 | to be read-write with disk quotas. | |
95 | By default only the types of quotas listed in | |
96 | .Pa /etc/fstab | |
97 | are enabled. | |
98 | .It Fl g | |
99 | Only group quotas listed in | |
100 | .Pa /etc/fstab | |
101 | should be enabled/disabled. | |
102 | .It Fl u | |
103 | Only user quotas listed in | |
104 | .Pa /etc/fstab | |
105 | should be enabled/disabled. | |
106 | .It Fl v | |
107 | Causes | |
108 | .Nm quotaon | |
109 | and | |
110 | .Nm quotaoff | |
111 | to print a message for each filesystem where quotas are turned on or off. | |
112 | .El | |
113 | .Pp | |
114 | Specifying both | |
115 | .Fl g | |
116 | and | |
117 | .Fl u | |
118 | is equivalent to the default. | |
119 | .Sh FILES | |
120 | .Bl -tag -width quota.group -compact | |
121 | .It Pa quota.user | |
122 | at the filesystem root with user quotas | |
123 | .It Pa quota.group | |
124 | at the filesystem root with group quotas | |
125 | .It Pa /etc/fstab | |
126 | filesystem table | |
127 | .El | |
128 | .Sh SEE ALSO | |
129 | .Xr quota 1 , | |
130 | .Xr quotactl 2 , | |
131 | .Xr fstab 5 , | |
132 | .Xr edquota 8 , | |
133 | .Xr quotacheck 8 , | |
134 | .Xr repquota 8 | |
135 | .Sh HISTORY | |
136 | The | |
137 | .Nm | |
138 | command appeared in | |
139 | .Bx 4.2 . |