Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 731 — #757
i
i
i
i
i
i
i
i
B
Manual Page of e2fsck
pressing directories for smaller directories, or
for filesystems using traditional linear directo
ries.
-E extended_options
Set e2fsck extended options. Extended options are
comma separated, and may take an argument using the
equals (’=’) sign. The following options are sup
ported:
ea_ver=extended_attribute_version
Assume the format of the extended
attribute blocks in the filesystem is
the specified version number. The ver
sion number may be 1 or 2. The default
extended attribute version format is 2.
-f Force checking even if the file system seems clean.
-F Flush the filesystem device’s buffer caches before
beginning. Only really useful for doing e2fsck
time trials.
-j external-journal
Set the pathname where the external-journal for
this filesystem can be found.
-l filename
Add the block numbers listed in the file specified
by filename to the list of bad blocks. The format
of this file is the same as the one generated by
the badblocks(8) program. Note that the block num
bers are based on the blocksize of the filesystem.
Hence, badblocks(8) must be given the blocksize of
the filesystem in order to obtain correct results.
As a result, it is much simpler and safer to use
the -c option to e2fsck, since it will assure that
the correct parameters are passed to the badblocks
program.
-L filename
Set the bad blocks list to be the list of blocks
specified by filename. (This option is the same as
the -l option, except the bad blocks list is
cleared before the blocks listed in the file are
added to the bad blocks list.)
-n Open the filesystem read-only, and assume an answer
of ‘no’ to all questions. Allows e2fsck to be used
non-interactively. (Note: if the -c, -l, or -L
options are specified in addition to the -n option,
then the filesystem will be opened read-write, to
permit the bad-blocks list to be updated. However,
731
SUSE LINUX Enterprise Server










