date and time created 87/02/15 16:03:30 by lepreau
[unix-history] / usr / src / usr.sbin / quotaon / quotaon.8
CommitLineData
b66321c5
KM
1.\" Copyright (c) 1983 Regents of the University of California.
2.\" All rights reserved. The Berkeley software License Agreement
3.\" specifies the terms and conditions for redistribution.
4.\"
eea368cf 5.\" @(#)quotaon.8 6.1 (Berkeley) %G%
b66321c5 6.\"
eea368cf 7.TH QUOTAON 8 ""
b66321c5
KM
8.UC 5
9.SH NAME
10quotaon, quotaoff \- turn file system quotas on and off
11.SH SYNOPSIS
12.B /etc/quotaon
13[
14.B \-v
15]
16.I filsys...
17.PP
18.B /etc/quotaon
19[
20.B \-v
21]
22.B \-a
23.PP
24.B /etc/quotaoff
25[
26.B \-v
27]
28.I filsys...
29.PP
30.B /etc/quotaoff
31[
32.B \-v
33]
34.B \-a
35.SH DESCRIPTION
36.I Quotaon
37announces to the system that disc quotas should be enabled
38on one or more file systems.
39The file systems specified must have entries
40in /etc/fstab and be mounted at the time.
41The file system quota files must be present in the root
42directory of the specified file system and be named
43.IR quotas .
44The optional argument
45.B \-v
46causes
47.I quotaon
48to print a message for each file system where quotas are turned on.
49If, instead of a list of file systems, a
50.B \-a
51argument is give to
52.IR quotaon ,
53all file systems in /etc/fstab marked read-write with quotas
54will have their quotas turned on. This is normally used at
55boot time to enable quotas.
56.PP
57.I Quotaoff
58announces to the system that file systems specified should
59have any disc quotas turned off. As above, the
60.B \-v
61forces a verbose message for each file system affected; and
62the
63.B \-a
64option forces all file systems in /etc/fstab to have their
65quotas disabled.
66.PP
67These commands
68update the status field of devices located in
69.I /etc/mtab
70to indicate when quotas are on or off for each file system.
71.SH FILES
72/etc/mtab mount table
73.br
74/etc/fstab file system table
75.SH "SEE ALSO"
76setquota(2),
77mtab(5), fstab(5)