DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

fsstat(ADM)


fsstat -- report whether a filesystem needs checking

Syntax

/etc/fsstat bdev

Description

fsstat reports on the status of the filesystem on the block special file bdev.

During system startup, mountall(ADM) use fsstat to determine if a filesystem needs checking before it is mounted.

For an HTFS filesystem, fsstat succeeds (exits with value 0) if the filesystem is active and does not need checking (it is not marked dirty). For a VxFS filesystem, fsstat never succeeds. For non-root filesystems, fsstat succeeds if the filesystem is unmounted and does not need checking.

Exit values

fsstat has the following exit codes:

0
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

1
the filesystem is not mounted and needs to be checked

2
the filesystem is mounted

3
the command failed

Limitations

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.

Files


/etc/fscmd.d/fstyp/fsstat
versions of fsstat for each filesystem type

See also

filesys(F), filesystem(FP), fsck(ADM), fstyp(ADM), mountall(ADM)
© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005