Commit | Line | Data |
---|---|---|
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 | |
10 | quotaon, 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 | |
37 | announces to the system that disc quotas should be enabled | |
38 | on one or more file systems. | |
39 | The file systems specified must have entries | |
40 | in /etc/fstab and be mounted at the time. | |
41 | The file system quota files must be present in the root | |
42 | directory of the specified file system and be named | |
43 | .IR quotas . | |
44 | The optional argument | |
45 | .B \-v | |
46 | causes | |
47 | .I quotaon | |
48 | to print a message for each file system where quotas are turned on. | |
49 | If, instead of a list of file systems, a | |
50 | .B \-a | |
51 | argument is give to | |
52 | .IR quotaon , | |
53 | all file systems in /etc/fstab marked read-write with quotas | |
54 | will have their quotas turned on. This is normally used at | |
55 | boot time to enable quotas. | |
56 | .PP | |
57 | .I Quotaoff | |
58 | announces to the system that file systems specified should | |
59 | have any disc quotas turned off. As above, the | |
60 | .B \-v | |
61 | forces a verbose message for each file system affected; and | |
62 | the | |
63 | .B \-a | |
64 | option forces all file systems in /etc/fstab to have their | |
65 | quotas disabled. | |
66 | .PP | |
67 | These commands | |
68 | update the status field of devices located in | |
69 | .I /etc/mtab | |
70 | to 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" | |
76 | setquota(2), | |
77 | mtab(5), fstab(5) |