4.3BSD-UWisc/man/cat8/quotacheck.8

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




QUOTACHECK(8)       UNIX Programmer's Manual        QUOTACHECK(8)



NAME
     quotacheck - file system quota consistency checker

SYNOPSIS
     /etc/quotacheck [ -v ] [ -p ] filesystem...
     /etc/quotacheck [ -v ] [ -p ] -a

DESCRIPTION
     _Q_u_o_t_a_c_h_e_c_k examines each file system, builds a table of
     current disc usage, and compares this table against that
     stored in the disc quota file for the file system.  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 file system is checked).

     If the -a flag is supplied in place of any file system
     names, _q_u_o_t_a_c_h_e_c_k will check all the file systems indicated
     in /_e_t_c/_f_s_t_a_b to be read-write with disc quotas.

     Normally _q_u_o_t_a_c_h_e_c_k reports only those quotas modified.  If
     the -v option is supplied, _q_u_o_t_a_c_h_e_c_k will indicate the cal-
     culated disc quotas for each user on a particular file sys-
     tem.

     If the -p flag is supplied then parallel passes will be run
     on the filesystems required, using the pass numbers in
     /etc/fstab in an identical fashion to _f_s_c_k(8).

     _Q_u_o_t_a_c_h_e_c_k expects each file system to be checked to have a
     quota file named _q_u_o_t_a_s in the root directory.  If none is
     present, _q_u_o_t_a_c_h_e_c_k will ignore the file system.

     _Q_u_o_t_a_c_h_e_c_k is normally run at boot time from the
     /_e_t_c/_r_c._l_o_c_a_l file, see _r_c(8), before enabling disc quotas
     with _q_u_o_t_a_o_n(8).

     _Q_u_o_t_a_c_h_e_c_k accesses the raw device in calculating the actual
     disc usage for each user.  Thus, the file systems checked
     should be quiescent while _q_u_o_t_a_c_h_e_c_k is running.

FILES
     /etc/fstab     default file systems

SEE ALSO
     quota(2), setquota(2), quotaon(8), fsck(8)










Printed 12/27/86       September 15, 1985                       1