Deleted Added
full compact
1.\" Copyright (c) 1983, 1990, 1991, 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.\" Redistribution and use in source and binary forms, with or without
7.\" modification, are permitted provided that the following conditions
8.\" are met:

--- 18 unchanged lines hidden (view full) ---

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 8.2 (Berkeley) 12/11/93
35.\" $FreeBSD: head/usr.sbin/quotaon/quotaon.8 99968 2002-07-14 14:47:15Z charnier $
36.\"
37.Dd December 11, 1993
38.Dt QUOTAON 8
39.Os
40.Sh NAME
41.Nm quotaon ,
42.Nm quotaoff
43.Nd turn filesystem quotas on and off
44.Sh SYNOPSIS
45.Nm
46.Op Fl g
47.Op Fl u
48.Op Fl v
49.Ar filesystem Ar ...
50.Nm
51.Op Fl g

--- 10 unchanged lines hidden (view full) ---

62.Op Fl u
63.Op Fl v
64.Fl a
65.Sh DESCRIPTION
66The
67.Nm
68utility
69announces to the system that disk quotas should be enabled on one or more
70filesystems.
71The
72.Nm quotaoff
73utility announces to the system that the specified
74filesystems should have any disk quotas turned off.
75The filesystems specified must have entries in
76.Pa /etc/fstab
77and be mounted.
78The
79.Nm
80utility expects each filesystem to have quota files named
81.Pa quota.user
82and
83.Pa quota.group
84which are located at the root of the associated filesystem.
85These defaults may be overridden in
86.Pa /etc/fstab .
87By default both user and group quotas are enabled.
88.Pp
89Available options:
90.Bl -tag -width indent
91.It Fl a
92If supplied in place of any filesystem names,
93.Nm Ns / Ns Nm quotaoff
94will enable/disable all the filesystems indicated in
95.Pa /etc/fstab
96to be read-write with disk quotas.
97By default only the types of quotas listed in
98.Pa /etc/fstab
99are enabled.
100.It Fl g
101Only group quotas listed in
102.Pa /etc/fstab
103should be enabled/disabled.
104.It Fl u
105Only user quotas listed in
106.Pa /etc/fstab
107should be enabled/disabled.
108.It Fl v
109Cause
110.Nm
111and
112.Nm quotaoff
113to print a message for each filesystem where quotas are turned on or off.
114.El
115.Pp
116Specifying both
117.Fl g
118and
119.Fl u
120is equivalent to the default.
121.Sh FILES
122.Bl -tag -width quota.group -compact
123.It Pa quota.user
124at the filesystem root with user quotas
125.It Pa quota.group
126at the filesystem root with group quotas
127.It Pa /etc/fstab
128filesystem table
129.El
130.Sh SEE ALSO
131.Xr quota 1 ,
132.Xr quotactl 2 ,
133.Xr fstab 5 ,
134.Xr edquota 8 ,
135.Xr quotacheck 8 ,
136.Xr repquota 8
137.Sh HISTORY
138The
139.Nm
140utility appeared in
141.Bx 4.2 .