Which e2fsck option is used to automatically repair an ext2 filesystem?

CORRECT TEXT
Which e2fsck option is used to automatically repair an ext2 filesystem?

CORRECT TEXT
Which e2fsck option is used to automatically repair an ext2 filesystem?

Answer: -p

Explanation:

From the man pages:
e2fsck – check a Linux ext2/ext3/ext4 file system
-p Automatically repair (“preen”) the file system. This option will cause e2fsck to automatically fix
any filesystem problems that can be safely fixed without human intervention. If e2fsck discovers a
problem which may require the system administrator to take additional corrective action, e2fsck
will print a description of the problem and then exit with the value 4 logically or’ed into the exit
code. This option is normally used by the system’s boot scripts.



Leave a Reply 0

Your email address will not be published. Required fields are marked *