1 .\" Copyright (c) 1983, 1990, 1991, 1993
2 .\" The Regents of the University of California. All rights reserved.
4 .\" This code is derived from software contributed to Berkeley by
5 .\" Robert Elz at The University of Melbourne.
7 .\" Redistribution and use in source and binary forms, with or without
8 .\" modification, are permitted provided that the following conditions
10 .\" 1. Redistributions of source code must retain the above copyright
11 .\" notice, this list of conditions and the following disclaimer.
12 .\" 2. Redistributions in binary form must reproduce the above copyright
13 .\" notice, this list of conditions and the following disclaimer in the
14 .\" documentation and/or other materials provided with the distribution.
15 .\" 4. Neither the name of the University nor the names of its contributors
16 .\" may be used to endorse or promote products derived from this software
17 .\" without specific prior written permission.
19 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
20 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
22 .\" ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
23 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
24 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
25 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
26 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
27 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
28 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31 .\" @(#)quotacheck.8 8.1 (Berkeley) 6/5/93
39 .Nd file system quota consistency checker
51 utility examines each file system,
52 builds a table of current disk usage,
53 and compares this table against that recorded
54 in the disk quota file for the file system.
55 If any inconsistencies are detected, both the
56 quota file and the current system copy of the
57 incorrect quotas are updated (the latter only
58 occurs if an active file system is checked).
59 By default both user and group quotas are checked.
61 The following options are available:
62 .Bl -tag -width indent
64 If supplied in place of any file system names,
66 will check all the file systems indicated in
68 to be read-write with disk quotas.
69 By default only the types of quotas listed in
73 Only group quotas listed in
77 Specifies the maximum number of concurrent file systems
79 If this option is omitted, or if
81 is zero, parallel passes are run as per
84 Only user quotas listed in
88 Report discrepancies between the
89 calculated and recorded disk quotas and other additional diagnostic messages.
96 is equivalent to the default.
97 Parallel passes are run on the file systems required,
98 using the pass numbers in
100 in an identical fashion to
109 utility expects each file system to be checked to have a
114 which are located at the root of the associated file system.
115 These defaults may be overridden in
117 If a file is not present,
120 These files should be edited with the
126 utility is normally run at boot time from the
129 The rc startup procedure is controlled by the
133 Note that to enable this functionality in
135 you also need to enable startup quota procedures
143 utility accesses the raw device in calculating the actual
144 disk usage for each user.
145 Thus, the file systems
146 checked should be quiescent while
150 .Bl -tag -width quota.group -compact
152 at the file system root with user quotas
154 at the file system root with group quotas