report whether a filesystem needs checking
fsstat reports on the status of the filesystem on
the block special file bdev.
During system startup,
use fsstat to determine if a filesystem
needs checking before it is mounted.
For the root filesystem, fsstat succeeds
(exits with value 0)
if the filesystem is active and does not need checking
(it is not marked dirty).
For non-root filesystems, fsstat succeeds
if the filesystem is unmounted and does not need checking.
fsstat has the following exit codes:
for the root filesystem, this means that
it is mounted and does not need to be checked;
for non-root filesystems,
the filesystem is not mounted and does not need to be checked
the filesystem is not mounted and needs to be checked
the filesystem is mounted
the command failed
fsstat does not work on DOS or HS filesystems,
and it is not intended for use on remote filesystem types such as
NFS and NUCFS.
versions of fsstat for each filesystem type
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003