4.4BSD/usr/share/man/cat8/quotacheck.0

Compare this file to the similar file:
Show the results in this format:

QUOTACHECK(8)             BSD System Manager's Manual            QUOTACHECK(8)

NNAAMMEE
     qquuoottaacchheecckk - filesystem quota consistency checker

SSYYNNOOPPSSIISS
     qquuoottaacchheecckk [--gg] [--uu] [--vv] _f_i_l_e_s_y_s_t_e_m _._._.
     qquuoottaacchheecckk [--gg] [--uu] [--vv] --aa

DDEESSCCRRIIPPTTIIOONN
     QQuuoottaacchheecckk examines each filesystem, builds a table of current disk us-
     age, 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.

     Available options:

     --aa      If the --aa flag is supplied in place of any filesystem names,
             qquuoottaacchheecckk will check all the filesystems indicated in _/_e_t_c_/_f_s_t_a_b
             to be read-write with disk quotas.  By default only the types of
             quotas listed in _/_e_t_c_/_f_s_t_a_b are checked.

     --gg      Only group quotas listed in _/_e_t_c_/_f_s_t_a_b are to be checked.

     --uu      Only user quotas listed in _/_e_t_c_/_f_s_t_a_b are to be checked.

     --vv      qquuoottaacchheecckk reports discrepancies between the calculated and
             recorded disk quotas.

     Specifying both --gg and --uu is equivalent to the default.  Parallel passes
     are run on the filesystems required, using the pass numbers in _/_e_t_c_/_f_s_t_a_b
     in an identical fashion to fsck(8).

     Normally qquuoottaacchheecckk operates silently.

     QQuuoottaacchheecckk expects each filesystem to be checked to have a quota files
     named _q_u_o_t_a_._u_s_e_r and _q_u_o_t_a_._g_r_o_u_p which are located at the root of the as-
     sociated file system.  These defaults may be overridden in _/_e_t_c_/_f_s_t_a_b. If
     a file is not present, qquuoottaacchheecckk will create it.

     QQuuoottaacchheecckk is normally run at boot time from the _/_e_t_c_/_r_c_._l_o_c_a_l file, see
     rc(8),  before enabling disk quotas with quotaon(8).

     QQuuoottaacchheecckk accesses the raw device in calculating the actual disk usage
     for each user.  Thus, the filesystems checked should be quiescent while
     qquuoottaacchheecckk is running.

FFIILLEESS
     quota.user   at the filesystem root with user quotas
     quota.group  at the filesystem root with group quotas
     /etc/fstab   default filesystems

SSEEEE AALLSSOO
     quota(1),  quotactl(2),  fstab(5),  edquota(8),  fsck(8),  quotaon(8),
     repquota(8)

HHIISSTTOORRYY
     The qquuoottaacchheecckk command appeared in 4.2BSD.

4.2 Berkeley Distribution        June 5, 1993                                1