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

fsclean(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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

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