Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > F


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


fsclean — determine the shutdown status of HFS file systems


/sbin/fsclean [-q] [-r] [-v] [special ...]


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:


All of the checked file systems were shut down correctly.


One or more checked file systems were not shutdown correctly, implying that fsck should be run (see fsck(1M)).


Other error (such as cannot open the specified device file).

The fsclean command is usually silent.



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.


Retry open on a device special file for up to 6 minutes.


Be verbose. Prints the status of each file system checked.


fsclean only operates on HFS file systems.


fsclean was developed by HP.



Default list of file systems to check

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.