NAME [Toc] [Back]
fsclean - determine the shutdown status of HFS file systems
SYNOPSIS [Toc] [Back]
/sbin/fsclean [-q] [-v] [special ...]
DESCRIPTION [Toc] [Back]
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
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.
-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.
-v Be verbose. Prints the status of each file system checked.
DEPENDENCIES [Toc] [Back]
fsclean only operates on HFS file systems.
AUTHOR [Toc] [Back]
fsclean was developed by HP.
FILES [Toc] [Back]
/etc/fstab Default list of file systems to check
SEE ALSO [Toc] [Back]
dumpfs(1M), fsck(1M), fsck_hfs(1M), mount(1M), quotacheck(1M),
quotacheck_hfs(1M), reboot(1M), fstab(4).
Hewlett-Packard Company - 1 - HP-UX 11i Version 2: August 2003 [ Back ]