Checking s5 filesystems
The following is the
s5-specific format of the
fsck [-F s5] [generic_options] [special . . .]
fsck [-F s5] [generic_options] [-y][-n][-p][-sX][-SX][-tfile] \
[-l][-q][-D][-f] [special . . . ]
(The second command line is shown on two lines for
The options are as follows:
options supported by the generic
Specifies a yes response for all questions.
This is the normal choice
when the command is being run as part of a shell procedure.
It generally causes fsck to correct all errors.
Specifies a no response for all questions.
fsck will not write the filesystem.
inconsistencies that can be fixed automatically,
that is, inconsistencies that are deemed harmless and
can be fixed without confirmation by the administrator.
Examples of such inconsistencies are unreferenced inodes,
incorrect counts in the superblocks, and missing blocks
in the free list.
Specifies an unconditional reconstruction of the free list.
argument specifies the number of blocks-per-cylinder
and the number of blocks to skip (rotational gap).
The default values are those specified when the filesystem
``Using mkfs to create an s5 filesystem''
for more information.)
The format of X is
If you do not specify X,
the values used when the filesystem was created are used.
Specifies a conditional reconstruction of the free list
to be done only if corruption is detected.
The format of the
argument is the same as described
previously for the -s option.
Specifies a scratch file for use in case the filesystem
check requires additional memory.
If this option is not specified,
the process asks for a filename when more memory is needed.
Causes damaged files to be identified by their
logical names in addition to the inode numbers.
Specifies a ``quiet'' filesystem check.
Output messages from the process are suppressed.
Checks directories for bad blocks;
checks filesystems for damage
after a system crash.
Specifies that a fast filesystem check be done.
Only Phase 1 (Check Blocks and Sizes)
and Phase 5 (check free list) are executed for a fast check.
Phase 6 (Reconstruct Free List) is run only if necessary.
Names the special device file associated with a filesystem.
If no device name is specified,
checks all filesystems named in
with a numeric entry in the
© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 22 April 2004