fsstat(ADM) 19 June 1992 fsstat(ADM) Name fsstat - report file system status Syntax /etc/fsstat specialfile Description The fsstat command reports on the status of the file system on specialfile. 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. See also filesystem(FP) 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 This command does not work on DOS filesystems. The directory /etc/fscmd.d/TYPE contains programs for each file system type, fsstat invokes the appropriate binary.