Datasheet

“main” (Installation and Administration) 2004/6/25 13:29 page 729 #755
i
i
i
i
i
i
i
i
B
Manual Page of e2fsck
Manual Page of e2fsck
E2FSCK(8) E2FSCK(8)
NAME
e2fsck - check a Linux second extended file system
SYNOPSIS
e2fsck [ -pacnyrdfvstDFSV ] [ -b superblock ] [ -B block
size ] [ -l|-L bad_blocks_file ] [ -C fd ] [ -j external-
journal ] [ -E extended_options ] device
DESCRIPTION
e2fsck is used to check a Linux second extended file sys
tem (ext2fs). E2fsck also supports ext2 filesystems coun
taining a journal, which are also sometimes known as ext3
filesystems, by first applying the journal to the filesys
tem before continuing with normal e2fsck processing.
After the journal has been applied, a filesystem will nor
mally be marked as clean. Hence, for ext3 filesystems,
e2fsck will normally run the journal and exit, unless its
superblock indicates that further checking is required.
device is the device file where the filesystem is stored
(e.g. /dev/hdc1).
OPTIONS
-a This option does the same thing as the -p option.
It is provided for backwards compatibility only; it
is suggested that people use -p option whenever
possible.
-b superblock
Instead of using the normal superblock, use an
alternative superblock specified by superblock.
This option is normally used when the primary
superblock has been corrupted. The location of the