fsstat(1M)                                                          fsstat(1M)


NAME
     fsstat - report filesystem status

SYNOPSIS
     fsstat special_file

DESCRIPTION
     fsstat reports on the status of the filesystem on special_file.  During
     startup, this command is used to determine if the filesystem needs
     checking before it is mounted.  fsstat succeeds if the filesystem is
     unmounted and appears O.K.  For the root filesystem, it succeeds if the
     filesystem is active and not marked bad.  fsstat attempts to assure that
     the blocksize of the device matches that specified in the device volume
     header.

SEE ALSO
     efs(4).

DIAGNOSTICS
     The command has the following exit codes:

     0    The filesystem is not mounted and appears O.K., except for root,
          where 0 means mounted and O.K.

     1    The filesystem is not mounted and needs to be checked.

     2    The filesystem is mounted.

     3    The command failed.


                                                                        Page 1