fsstat(8) CLIX fsstat(8)
NAME
fsstat - Reports file system status
SYNOPSIS
/etc/fsstat special
DESCRIPTION
The fsstat command reports on the status of the file system on special.
During startup, this command is used to determine if the file system needs
to be checked 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.
If the special argument is of a type other than fs, the fsstat command
determines the file system identifier with the sysfs function, forms a
pathname from it, and executes the corresponding program. For example, if
the file system identifier is FFS, the fsstat command executes the
ffsfsstat command.
EXAMPLES
The following displays a message telling whether or not the /usr file
system is okay:
fsstat /dev/dsk/s0u0p7.3
CAUTIONS
The fsstat command works only on unmounted file systems.
DIAGNOSTICS
fsstat: device mounted
The device is a mounted file system. (The fsstat command works
only on unmounted file systems.)
fsstat: device not a valid file system
The device has not been formatted as a file system, or it contains
an unknown file system type.
EXIT VALUES
The fsstat command returns 0 when the file system is not mounted and
appears okay (except for root where 0 means mounted and okay). A value of
1 indicates that the file system is not mounted and needs to be checked.
A value of 2 indicates that the file system is mounted. A value of 3
indicates that the command failed.
2/94 - Intergraph Corporation 1
fsstat(8) CLIX fsstat(8)
RELATED INFORMATION
Commands: ffsfsstat(8)
Functions: sysfs(2)
Files: fs(4)
2 Intergraph Corporation - 2/94