FSSTAT(1M) RISC/os Reference Manual FSSTAT(1M)
NAME
fsstat - report file system status
SYNOPSIS
/etc/fsstat special_file
DESCRIPTION
fsstat 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. fsstat 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.
SEE ALSO
fs.ffs(4) in the Programmer's Reference Manual.
DIAGNOSTICS
The command has the following exit codes:
For regular file systems:
0 -- the file system is not mounted and appears okay.
1 -- the file system is not mounted and needs to be checked.
2 -- the file system is mounted.
For the root file system:
0 -- the file system is mounted and appears okay.
1 -- the file system is mounted and needs to be checked.
3 -- the command failed.
Printed 11/19/92 Page 1