Commit | Line | Data |
---|---|---|
acdcc1e5 C |
1 | .TH QUOTACHECK 8 "18 July 1983" |
2 | .UC 4 | |
3 | .SH NAME | |
4 | quotacheck \- file system quota consistency checker | |
5 | .SH SYNOPSIS | |
6 | .B /etc/quotacheck | |
7 | [ | |
8 | .B \-v | |
9 | ] | |
10 | filesystem... | |
11 | .br | |
12 | .B /etc/quotacheck | |
13 | [ | |
14 | .B \-v | |
15 | ] | |
16 | .B \-a | |
17 | .SH DESCRIPTION | |
18 | .I Quotacheck | |
19 | examines each file system, | |
20 | builds a table of current disc usage, | |
21 | and compares this table against that stored | |
22 | in the disc quota file for the file system. | |
23 | If any inconsistencies are detected, both the | |
24 | quota file and the current system copy of the | |
25 | incorrect quotas are updated (the latter only | |
26 | occurs if an active file system is checked). | |
27 | .PP | |
28 | If the | |
29 | .B \-a | |
30 | flag is supplied in place of any file system | |
31 | names, | |
32 | .I quotacheck | |
33 | will check all the file systems indicated in | |
34 | .I /etc/fstab | |
35 | to be read-write with disc quotas. | |
36 | .PP | |
37 | Normally | |
38 | .I quotacheck | |
39 | reports only those quotas modified. If the | |
40 | .B \-v | |
41 | option is supplied, | |
42 | .I quotacheck | |
43 | will indicate the calculated disc quotas for each | |
44 | user on a particular file system. | |
45 | .PP | |
46 | .I Quotacheck | |
47 | expects each file system to be checked to have a | |
48 | quota file named | |
49 | .I quotas | |
50 | in the root directory. If none is present, | |
51 | .I quotacheck | |
52 | will ignore the file system. | |
53 | .PP | |
54 | .I Quotacheck | |
55 | is normally run at boot time from the | |
56 | .I /etc/rc.local | |
57 | file, see | |
58 | .IR rc (8), | |
59 | before enabling disc quotas with | |
60 | .IR quotaon (8). | |
61 | .PP | |
62 | .I Quotacheck | |
63 | accesses the raw device in calculating the actual | |
64 | disc usage for each user. Thus, the file systems | |
65 | checked should be quiescent while | |
66 | .I quotacheck | |
67 | is running. | |
68 | .SH FILES | |
69 | .DT | |
70 | /etc/fstab default file systems | |
71 | .SH "SEE ALSO" | |
72 | quota(2), setquota(2), quotaon(8) |