6324 Add an `ndp' tool for manipulating the neighbors table
[illumos-gate.git] / usr / src / man / man1m / quotaon.1m
blob984083839dd3b05c1c96a457329f445163526a11
1 '\" te
2 .\" Copyright (c) 2000, Sun Microsystems, Inc.  All Rights Reserved
3 .\" Copyright 1989 AT&T
4 .\" 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.
5 .\" 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.
6 .\" 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]
7 .TH QUOTAON 1M "Sep 16, 1996"
8 .SH NAME
9 quotaon, quotaoff \- turn ufs file system quotas on and off
10 .SH SYNOPSIS
11 .LP
12 .nf
13 \fBquotaon\fR [\fB-v\fR] \fIfilesystem\fR...
14 .fi
16 .LP
17 .nf
18 \fBquotaon\fR \fB-a\fR [\fB-v\fR]
19 .fi
21 .LP
22 .nf
23 \fBquotaoff\fR [\fB-v\fR] \fIfilesystem\fR...
24 .fi
26 .LP
27 .nf
28 \fBquotaoff\fR \fB-a\fR [\fB-v\fR]
29 .fi
31 .SH DESCRIPTION
32 .sp
33 .LP
34 \fBquotaon\fR turns on disk quotas for one or more ufs file systems.
35 .sp
36 .LP
37 Before a file system may have quotas enabled, a file named \fBquotas\fR, owned
38 by root, must exist in the root directory of the file system. See
39 \fBedquota\fR(1M) for details on how to modify the contents of this file.
40 .sp
41 .LP
42 \fBquotaoff\fR turns off disk quotas for one or more ufs file systems.
43 .sp
44 .LP
45 The file systems specified must already be mounted.
46 .sp
47 .LP
48 These commands update the \fBmntopts\fR field of the appropriate entries in
49 \fB/etc/mnttab\fR to indicate when quotas are on or off for each file system.
50 If quotas are on, the string \fBquota\fR will be added to \fBmntopts\fR; if
51 quotas are off, the \fBquota\fR string is not present.
52 .sp
53 .LP
54 \fIfilesystem\fR must be either the mount point of a file system, or the block
55 device on which the file system resides.
56 .SH OPTIONS
57 .SS "quotaon"
58 .sp
59 .ne 2
60 .na
61 \fB\fB-a\fR\fR
62 .ad
63 .RS 6n
64 This option is normally used at boot time to enable quotas. It applies only to
65 those file systems in \fB/etc/vfstab\fR which have ``rq'' in the \fBmntopts\fR
66 field, are currently mounted ``rw'', and have a \fBquotas\fR file in the root
67 directory.
68 .RE
70 .sp
71 .ne 2
72 .na
73 \fB\fB-v\fR\fR
74 .ad
75 .RS 6n
76 Display a message for each file system after quotas are turned on.
77 .RE
79 .SS "quotaoff"
80 .sp
81 .ne 2
82 .na
83 \fB\fB-a\fR\fR
84 .ad
85 .RS 6n
86 Force all file systems in \fB/etc/mnttab\fR to have their quotas disabled.
87 .RE
89 .sp
90 .ne 2
91 .na
92 \fB\fB-v\fR\fR
93 .ad
94 .RS 6n
95 Display a message for each file system affected.
96 .RE
98 .SH USAGE
99 .sp
101 See \fBlargefile\fR(5) for the description of the behavior of \fBquotaon\fR and
102 \fBquotaoff\fR when encountering files greater than or equal to 2 Gbyte ( 2^31
103 bytes).
104 .SH FILES
106 .ne 2
108 \fB\fB/etc/mnttab\fR\fR
110 .RS 15n
111 mounted file systems
115 .ne 2
117 \fB\fB/etc/vfstab\fR\fR
119 .RS 15n
120 list of default parameters for each file system
123 .SH SEE ALSO
126 \fBedquota\fR(1M), \fBquota\fR(1M), \fBquotacheck\fR(1M), \fBrepquota\fR(1M),
127 \fBmnttab\fR(4), \fBvfstab\fR(4), \fBattributes\fR(5), \fBlargefile\fR(5),
128 \fBquotactl\fR(7I)