fsstat(1M) —
NAME
fsstat − report file system status
SYNOPSIS
/etc/fsstat [−q] special_file
DESCRIPTION
The fsstat command reports on the status of the file system on special_file. During startup, this command is used to determine if the file system needs checking before it is mounted. The fsstat command succeeds if the file system is unmounted and appears okay. For the root file system, it succeeds if the file system is active and not marked bad.
OPTIONS
−q Quiet mode. Do not print any messages; provide only the exit status.
SEE ALSO
DIAGNOSTICS
The command has the following exit codes:
0 the file system is not mounted and appears okay, (except for root where 0 means mounted and okay).
1 the file system is not mounted and needs to be checked.
2 the file system is mounted.
3 the command failed.
ADDED VALUE
This entry, supplied by SunSoft, Inc., contains enhancements to UNIX System V.
\*U — Version 1.0