Datasheet
“main” (Installation and Administration) — 2004/6/25 — 13:29 — page 732 — #758
i
i
i
i
i
i
i
i
no other changes will be made to the filesystem.)
-p Automatically repair ("preen") the file system
without any questions.
-r This option does nothing at all; it is provided
only for backwards compatibility.
-s This option will byte-swap the filesystem so that
it is using the normalized, standard byte-order
(which is i386 or little endian). If the filesys
tem is already in the standard byte-order, e2fsck
will take no action.
-S This option will byte-swap the filesystem, regard
less of its current byte-order.
-t Print timing statistics for e2fsck. If this option
is used twice, additional timing statistics are
printed on a pass by pass basis.
-v Verbose mode.
-V Print version information and exit.
-y Assume an answer of ‘yes’ to all questions; allows
e2fsck to be used non-interactively.
EXIT CODE
The exit code returned by e2fsck is the sum of the follow
ing conditions:
0 - No errors
1 - File system errors corrected
2 - File system errors corrected, system should
be rebooted
4 - File system errors left uncorrected
8 - Operational error
16 - Usage or syntax error
32 - E2fsck canceled by user request
128 - Shared library error
SIGNALS
The following signals have the following effect when sent
to e2fsck.
SIGUSR1
This signal causes e2fsck to start displaying a
completion bar. (See discussion of the -C option.)
SIGUSR2
This signal causes e2fsck to stop displaying a com
pletion bar.
732










