Commit | Line | Data |
---|---|---|
b42074ab | 1 | .\" Copyright (c) 1983, 1990, 1991 Regents of the University of California. |
f9ac90b4 | 2 | .\" All rights reserved. |
b66321c5 | 3 | .\" |
79fdf6e5 KM |
4 | .\" This code is derived from software contributed to Berkeley by |
5 | .\" Robert Elz at The University of Melbourne. | |
8afc7c2e | 6 | .\" %sccs.include.redist.man% |
f9ac90b4 | 7 | .\" |
b42074ab | 8 | .\" @(#)quotaon.8 6.7 (Berkeley) %G% |
b66321c5 | 9 | .\" |
b42074ab CL |
10 | .Dd |
11 | .Dt QUOTAON 8 | |
12 | .Os BSD 4.2 | |
13 | .Sh NAME | |
14 | .Nm quotaon , | |
15 | .Nm quotaoff | |
16 | .Nd turn filesystem quotas on and off | |
17 | .Sh SYNOPSIS | |
18 | .Nm quotaon | |
19 | .Op Fl g | |
20 | .Op Fl u | |
21 | .Op Fl v | |
22 | .Ar filesystem Ar ... | |
23 | .Nm quotaon | |
24 | .Op Fl g | |
25 | .Op Fl u | |
26 | .Op Fl v | |
27 | .Fl a | |
28 | .Nm quotaoff | |
29 | .Op Fl g | |
30 | .Op Fl u | |
31 | .Op Fl v | |
32 | .Ar filesystem Ar ... | |
33 | .Nm quotaoff | |
34 | .Op Fl g | |
35 | .Op Fl u | |
36 | .Op Fl v | |
37 | .Fl a | |
38 | .Sh DESCRIPTION | |
39 | .Nm Quotaon | |
b26cc6a5 | 40 | announces to the system that disk quotas should be enabled on one or more |
79fdf6e5 | 41 | filesystems. |
b42074ab CL |
42 | .Nm Quotaoff |
43 | announces to the system that the specified | |
44 | filesystems should have any disk quotas | |
45 | diskquotas turned off. | |
79fdf6e5 | 46 | The filesystems specified must have entries in |
b42074ab | 47 | .Pa /etc/fstab |
79fdf6e5 | 48 | and be mounted. |
b42074ab | 49 | .Nm Quotaon |
79fdf6e5 | 50 | expects each filesystem to have quota files named |
b42074ab | 51 | .Pa quota.user |
79fdf6e5 | 52 | and |
b42074ab | 53 | .Pa quota.group |
79fdf6e5 KM |
54 | which are located at the root of the associated file system. |
55 | These defaults may be overridden in | |
b42074ab | 56 | .Pa /etc/fstab . |
79fdf6e5 | 57 | By default both user and group quotas are enabled. |
b42074ab CL |
58 | .Pp |
59 | Available options: | |
60 | .Bl -tag -width Ds | |
61 | .It Fl a | |
79fdf6e5 | 62 | If the |
b42074ab | 63 | .Fl a |
79fdf6e5 | 64 | flag is supplied in place of any filesystem names, |
b42074ab CL |
65 | .Nm quotaon Ns / Ns quotaoff |
66 | will enable/disable all the filesystems indicated in | |
67 | .Pa /etc/fstab | |
79fdf6e5 KM |
68 | to be read-write with disk quotas. |
69 | By default only the types of quotas listed in | |
b42074ab | 70 | .Pa /etc/fstab |
79fdf6e5 | 71 | are enabled. |
b42074ab CL |
72 | .It Fl g |
73 | Only group quotas listed in | |
74 | .Pa /etc/fstab | |
75 | should be enabled/disabled. | |
76 | .It Fl u | |
77 | Only user quotas listed in | |
78 | .Pa /etc/fstab | |
79 | should be enabled/disabled. | |
80 | .It Fl v | |
81 | Causes | |
82 | .Nm quotaon | |
b26cc6a5 | 83 | and |
b42074ab | 84 | .Nm quotaoff |
79fdf6e5 | 85 | to print a message for each filesystem where quotas are turned on or off. |
b42074ab CL |
86 | .El |
87 | .Pp | |
88 | Specifying both | |
89 | .Fl g | |
90 | and | |
91 | .Fl u | |
92 | is equivalent to the default. | |
93 | .Sh FILES | |
94 | .Bl -tag -width quota.group -compact | |
95 | .It Pa quota.user | |
96 | at the filesystem root with user quotas | |
97 | .It Pa quota.group | |
98 | at the filesystem root with group quotas | |
99 | .It Pa /etc/fstab | |
100 | filesystem table | |
101 | .El | |
102 | .Sh SEE ALSO | |
103 | .Xr quota 1 , | |
104 | .Xr quotactl 2 , | |
105 | .Xr fstab 5 , | |
106 | .Xr edquota 8 , | |
107 | .Xr quotacheck 8 , | |
108 | .Xr repquota 8 | |
109 | .Sh HISTORY | |
110 | The | |
111 | .Nm | |
112 | command appeared in | |
113 | .Bx 4.2 . |