Prepare for the LPI 101-500 Exam. Study with detailed flashcards and expertly crafted multiple-choice questions. Each question is accompanied by hints and explanations, ensuring you're ready for success!

Multiple Choice

What utility is used to check for and repair errors in an ext2/ext3/ext4 filesystem?

The utility used to check for and repair errors in an ext2/ext3/ext4 filesystem can indeed include all the listed options. The primary tool, `fsck`, stands for filesystem check, and it is a general command used in Linux for checking the integrity of the filesystem. When `fsck` is applied to ext filesystems, it automatically invokes the appropriate filesystem-specific checker. The `fsck.ext4` command specifically targets ext4 filesystems, making it a tailored option for that specific type. Similarly, `e2fsck` is designed for ext2 and ext3 filesystems as well as ext4, providing a more focused approach. All three utilities serve the same core purpose but may have slight differences in options or behavior depending on the context or the specific filesystem version they are meant to handle. When using any of these utilities, users can check for inconsistencies and repair any found issues, maintaining the overall health of the filesystems. Therefore, all the mentioned options are correct for checking and repairing errors in ext filesystems.

The utility used to check for and repair errors in an ext2/ext3/ext4 filesystem can indeed include all the listed options. The primary tool, fsck, stands for filesystem check, and it is a general command used in Linux for checking the integrity of the filesystem. When fsck is applied to ext filesystems, it automatically invokes the appropriate filesystem-specific checker.

The fsck.ext4 command specifically targets ext4 filesystems, making it a tailored option for that specific type. Similarly, e2fsck is designed for ext2 and ext3 filesystems as well as ext4, providing a more focused approach. All three utilities serve the same core purpose but may have slight differences in options or behavior depending on the context or the specific filesystem version they are meant to handle.

When using any of these utilities, users can check for inconsistencies and repair any found issues, maintaining the overall health of the filesystems. Therefore, all the mentioned options are correct for checking and repairing errors in ext filesystems.