LFCS · Question #725
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?
The correct answer is C. tune2fs. The tune2fs utility is used to adjust various tunable parameters of ext2, ext3, and ext4 filesystems, including the frequency of filesystem checks, without affecting stored data.
Question
Options
- Amod2fs
- Bfsck
- Ctune2fs
- Dmke2fs
- Efixe2fs
How the community answered
(35 responses)- A6% (2)
- B3% (1)
- C91% (32)
Why each option
The `tune2fs` utility is used to adjust various tunable parameters of ext2, ext3, and ext4 filesystems, including the frequency of filesystem checks, without affecting stored data.
`mod2fs` is not a standard or recognized utility in Linux for modifying filesystem check frequencies.
`fsck` is used to check and repair filesystem integrity, but not to configure how often future checks are performed.
The `tune2fs` command is designed specifically for modifying tunable filesystem parameters, such as the maximum mount count between checks or the time interval for checking, on ext2/ext3/ext4 filesystems without losing data.
`mke2fs` is used to create a new ext2/ext3/ext4 filesystem, an operation that would destroy any existing data on the device.
`fixe2fs` is not a standard or recognized utility in Linux for modifying filesystem parameters.
Concept tested: Ext2/ext3/ext4 filesystem tuning
Source: https://man7.org/linux/man-pages/man8/tune2fs.8.html
Topics
Community Discussion
No community discussion yet for this question.