nerdexam
CompTIA

LX0-103 · Question #174

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 modifies tunable parameters on existing ext2/ext3/ext4 filesystems, including the maximum interval between automatic fsck checks.

Devices, Linux Filesystems, Filesystem Hierarchy Standard

Question

What command can be used on an existing (formatted) partition, to configure the interval between disk checks when mounting partitions?

Options

  • Ae2fsckconfig
  • Btune2fs
  • Cmke2fs
  • Dconfig2fs
  • Ee2fsck

How the community answered

(41 responses)
  • A
    2% (1)
  • B
    90% (37)
  • C
    5% (2)
  • E
    2% (1)

Why each option

The tune2fs command modifies tunable parameters on existing ext2/ext3/ext4 filesystems, including the maximum interval between automatic fsck checks.

Ae2fsckconfig

e2fsckconfig is not a valid or standard Linux filesystem utility command.

Btune2fsCorrect

tune2fs adjusts filesystem parameters stored in the superblock of an existing ext2/ext3/ext4 partition without reformatting it. The -i option sets the maximum time interval between forced filesystem checks and -c sets the maximum number of mounts before a check is triggered. These settings are applied directly to the already-formatted filesystem in place.

Cmke2fs

mke2fs creates (formats) a new ext filesystem from scratch and cannot be used to reconfigure an already-existing partition.

Dconfig2fs

config2fs is not a real Linux command and does not exist in standard distributions.

Ee2fsck

e2fsck is the ext filesystem checker and repair tool used to scan and fix filesystem errors, not to configure check intervals.

Concept tested: Configuring ext filesystem check intervals with tune2fs

Source: https://linux.die.net/man/8/tune2fs

Topics

#tune2fs#filesystem check interval#e2fsck#ext2/3/4 tuning

Community Discussion

No community discussion yet for this question.

Full LX0-103 Practice