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