NAME
fsclean — determine the shutdown status of HFS file systems
SYNOPSIS
/sbin/fsclean
[-q]
[-r]
[-v]
[special ...]
DESCRIPTION
The
fsclean
command
determines the shutdown status of the HFS file system specified by
special
or, in the absence of
special,
the file systems listed in
/etc/fstab
of type
hfs
with the
rw,
default,
or
ro
options set.
All optional fields in
/etc/fstab
must be present for
fsclean
to be able to check each file system.
fsclean
reads the superblock
to determine whether the file system's last shutdown was done correctly,
and returns one of the following values:
- 0
All of the checked file systems were shut down correctly.
- 1
One or more checked file systems were not shutdown correctly,
implying that
fsck
should be run (see
fsck(1M)).
- 2
Other error (such as
cannot open the specified device file).
The
fsclean
command is usually silent.
Options
- -q
Check quotas.
Instead of checking the file system shutdown status,
fsclean
checks the validity of disk quota statistics.
This option is useful for determining whether
quotacheck
should be run (see
quotacheck(1M)).
If
special
is not provided,
then all file systems in
/etc/fstab
of type
hfs
with the
rw
(or
default)
and
quota
options are checked.
- -r
Retry open on a device special file for up to 6 minutes.
- -v
Be verbose.
Prints the status of each file system checked.
DEPENDENCIES
fsclean
only operates on HFS file systems.
AUTHOR
fsclean
was developed by HP.
FILES
- /etc/fstab
Default list of file systems to check