.\" Copyright (c) 1983, 1990 Regents of the University of California.
.\" This code is derived from software contributed to Berkeley by
.\" Robert Elz at The University of Melbourne.
.\" %sccs.include.redist.man%
.\" @(#)quotacheck.8 6.6 (Berkeley) %G%
quotacheck \- filesystem quota consistency checker
examines each filesystem,
builds a table of current disk usage,
and compares this table against that recorded
in the disk quota file for the filesystem.
If any inconsistencies are detected, both the
quota file and the current system copy of the
incorrect quotas are updated (the latter only
occurs if an active filesystem is checked).
By default both user and group quotas are checked.
The optional \fI-g\fP flag specifies that only group quotas should be checked.
The optional \fI-u\fP flag specifies that only user quotas should be checked.
Specifying both \fI-g\fP and \fI-u\fP is equivalent to the default.
flag is supplied in place of any filesystem names,
will check all the filesystems indicated in
to be read-write with disk quotas.
By default only the types of quotas listed in
The optional \fI-g\fP flag specifies that only group quotas listed in
The optional \fI-u\fP flag specifies that only user quotas listed in
Specifying both \fI-g\fP and \fI-u\fP is equivalent to the default.
Parallel passes are run on the filesystems required,
using the pass numbers in
in an identical fashion to
will report discrepancies between the
calculated and recorded disk quotas.
expects each filesystem to be checked to have a
which are located at the root of the associated file system.
These defaults may be overridden in
If a file is not present,
is normally run at boot time from the
before enabling disk quotas with
accesses the raw device in calculating the actual
disk usage for each user.
checked should be quiescent while
\fIquota.user\fP at the filesystem root with user quotas
\fIquota.group\fP at the filesystem root with group quotas
/etc/fstab default filesystems
edquota(8), fsck(8), quotaon(8), repquota(8)