LFCS · Question #774
What command can be used on an existing (formatted) partition, to configure the interval between disk checks when mounting partitions?
The correct answer is B. tune2fs. The tune2fs command is used to modify various parameters of an existing ext2/ext3/ext4 filesystem, including the interval between disk checks.
Question
Options
- Ae2fsckconfig
- Btune2fs
- Cmke2fs
- Dconfig2fs
- Ee2fsck
How the community answered
(47 responses)- A2% (1)
- B87% (41)
- C6% (3)
- E4% (2)
Why each option
The `tune2fs` command is used to modify various parameters of an existing ext2/ext3/ext4 filesystem, including the interval between disk checks.
`e2fsckconfig` is not a standard command; `e2fsck` is the utility that performs the disk check but doesn't configure its interval.
The `tune2fs` command allows an administrator to adjust various tunable parameters on ext2, ext3, or ext4 filesystems. This includes setting the maximum mount count (`-c`) or the time interval (`-i`) after which `e2fsck` will automatically check the filesystem when it is next mounted.
`mke2fs` is used to create a new ext2/ext3/ext4 filesystem, not to modify parameters of an already existing one.
`config2fs` is not a standard Linux command for configuring filesystem parameters.
`e2fsck` is the utility that checks and repairs an ext2/ext3/ext4 filesystem, but it does not configure the automatic check intervals.
Concept tested: Filesystem management and e2fsck scheduling
Source: https://man7.org/linux/man-pages/man8/tune2fs.8.html
Topics
Community Discussion
No community discussion yet for this question.