1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
|
'\" te
.\" Copyright (c) 2000, Sun Microsystems, Inc. All Rights Reserved
.\" Copyright 1989 AT&T
.\" The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
.\" You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
.\" When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
.TH QUOTAON 1M "Sep 16, 1996"
.SH NAME
quotaon, quotaoff \- turn ufs file system quotas on and off
.SH SYNOPSIS
.LP
.nf
\fBquotaon\fR [\fB-v\fR] \fIfilesystem\fR...
.fi
.LP
.nf
\fBquotaon\fR \fB-a\fR [\fB-v\fR]
.fi
.LP
.nf
\fBquotaoff\fR [\fB-v\fR] \fIfilesystem\fR...
.fi
.LP
.nf
\fBquotaoff\fR \fB-a\fR [\fB-v\fR]
.fi
.SH DESCRIPTION
.sp
.LP
\fBquotaon\fR turns on disk quotas for one or more ufs file systems.
.sp
.LP
Before a file system may have quotas enabled, a file named \fBquotas\fR, owned
by root, must exist in the root directory of the file system. See
\fBedquota\fR(1M) for details on how to modify the contents of this file.
.sp
.LP
\fBquotaoff\fR turns off disk quotas for one or more ufs file systems.
.sp
.LP
The file systems specified must already be mounted.
.sp
.LP
These commands update the \fBmntopts\fR field of the appropriate entries in
\fB/etc/mnttab\fR to indicate when quotas are on or off for each file system.
If quotas are on, the string \fBquota\fR will be added to \fBmntopts\fR; if
quotas are off, the \fBquota\fR string is not present.
.sp
.LP
\fIfilesystem\fR must be either the mount point of a file system, or the block
device on which the file system resides.
.SH OPTIONS
.SS "quotaon"
.sp
.ne 2
.na
\fB\fB-a\fR\fR
.ad
.RS 6n
This option is normally used at boot time to enable quotas. It applies only to
those file systems in \fB/etc/vfstab\fR which have ``rq'' in the \fBmntopts\fR
field, are currently mounted ``rw'', and have a \fBquotas\fR file in the root
directory.
.RE
.sp
.ne 2
.na
\fB\fB-v\fR\fR
.ad
.RS 6n
Display a message for each file system after quotas are turned on.
.RE
.SS "quotaoff"
.sp
.ne 2
.na
\fB\fB-a\fR\fR
.ad
.RS 6n
Force all file systems in \fB/etc/mnttab\fR to have their quotas disabled.
.RE
.sp
.ne 2
.na
\fB\fB-v\fR\fR
.ad
.RS 6n
Display a message for each file system affected.
.RE
.SH USAGE
.sp
.LP
See \fBlargefile\fR(5) for the description of the behavior of \fBquotaon\fR and
\fBquotaoff\fR when encountering files greater than or equal to 2 Gbyte ( 2^31
bytes).
.SH FILES
.sp
.ne 2
.na
\fB\fB/etc/mnttab\fR\fR
.ad
.RS 15n
mounted file systems
.RE
.sp
.ne 2
.na
\fB\fB/etc/vfstab\fR\fR
.ad
.RS 15n
list of default parameters for each file system
.RE
.SH SEE ALSO
.sp
.LP
\fBedquota\fR(1M), \fBquota\fR(1M), \fBquotacheck\fR(1M), \fBrepquota\fR(1M),
\fBmnttab\fR(4), \fBvfstab\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5),
\fBquotactl\fR(7I)
|