NAME
quotacheck_hfs: quotacheck — quota consistency checker for HFS file systems
SYNOPSIS
/usr/sbin/quotacheck
[-F
hfs]
[-V]
[-pPuv]
filesystem ...
/usr/sbin/quotacheck
[-F
hfs]
[-V]
[-pPuv]
-a
DESCRIPTION
The
quotacheck
command examines each HFS file system, builds a table of current
disk usage, and compares this table against that stored
in the disk 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.
quotacheck
expects each file system to be checked to have a file named
quotas
in the root directory.
If none is present,
quotacheck
reports an error and ignores the file system.
quotacheck
is normally run at mount time from start up scripts.
filesystem
represents a mount point or block special device (for example,
/dev/dsk/c1t0d2).
Options
quotacheck
recognizes the following options:
- -a
Obtain list of file systems to check from
/etc/fstab.
Only mounted file systems of type
hfs
and
rw
(or
default)
with the
quota
option are checked.
- -F hfs
Specify the file system type
hfs.
- -p
Check file systems in parallel as allowed by equal values in the
pass number
field in
/etc/fstab.
- -P
Preen file systems, checking only those with invalid quota statistics
(quotaoff
and
edquota
commands can invalidate quota statistics as discussed in
quota(5)
— see
quotaoff(1M)
and
edquota(1M)).
Also checks in parallel as in
-p
above.
- -u
Check user quotas.
This is the default action.
- -V
Echo the completed command line, but perform no other
action.
The command line is generated by incorporating the
user-specified options and other information derived from
/etc/fstab.
This option allows the user to verify the command line.
- -v
Indicate the calculated disk quotas for each user
on a particular file system.
quotacheck
normally reports only those quotas that are modified.
AUTHOR
quotacheck
was developed by HP and the University of California, Berkeley.
FILES
- /etc/fstab
Static information about the file systems
- /etc/mnttab
Mounted file system table
- directory/quotas
Quota statistics static storage for filesystem where
directory
is the file system root as specified to the
mount
command (see
mount(1M)).