CompTIA Linux+ Powered by LPI (LX0-103) — Question 34
Which utility would be used to change how often a filesystem check is performed on an ext2 filesystem without losing any data stored on that filesystem?
Answer options
- A. mod2fs
- B. fsck
- C. tune2fs
- D. mke2fs
- E. fixe2fs
Correct answer: C
Explanation
The correct answer is C, tune2fs, which specifically allows users to modify parameters of the ext2 filesystem, including the interval for filesystem checks, without risking data loss. Options A, B, D, and E do not offer the capability to change filesystem check frequencies; mod2fs and mke2fs are for modifying and creating filesystems, respectively, while fsck is used to check and repair filesystems, not to set their check frequency.