unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 fsclean(1M)							 fsclean(1M)




 NAME
      fsclean - determine the shutdown status of HFS file systems

 SYNOPSIS
      /sbin/fsclean [-q] [-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.

      -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

 SEE ALSO
      dumpfs(1M), fsck(1M), fsck_hfs(1M), mount(1M), quotacheck(1M),
      quotacheck_hfs(1M), reboot(1M), fstab(4).






 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000