nerdexam
Linux_Foundation

LFCS · Question #780

Which of the following commands will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?

The correct answer is D. tune2fs. The tune2fs command allows an administrator to adjust filesystem parameters, including the number of mounts before an e2fsck check.

Submitted by andres_qro· Apr 18, 2026Storage Management

Question

Which of the following commands will allow an administrator to adjust the number of mounts after which an existing filesystem will be checked by e2fsck?

Options

  • Adebugfs
  • Bdumpe2fs
  • Cmode2fs
  • Dtune2fs
  • Emke2fs

How the community answered

(43 responses)
  • A
    5% (2)
  • B
    7% (3)
  • C
    2% (1)
  • D
    86% (37)

Why each option

The `tune2fs` command allows an administrator to adjust filesystem parameters, including the number of mounts before an `e2fsck` check.

Adebugfs

`debugfs` is an interactive filesystem debugger used for low-level examination and modification of filesystem structures, not for setting `e2fsck` check intervals.

Bdumpe2fs

`dumpe2fs` displays information about an ext2/ext3/ext4 filesystem, including its current `e2fsck` settings, but it does not modify them.

Cmode2fs

`mode2fs` is not a standard Linux command used for adjusting filesystem parameters.

Dtune2fsCorrect

The `tune2fs` command is specifically designed to modify adjustable parameters of existing ext2/ext3/ext4 filesystems. It can be used with the `-c` option to set the maximum number of times the filesystem can be mounted before `e2fsck` automatically checks it.

Emke2fs

`mke2fs` is used to create a new ext2/ext3/ext4 filesystem and can set initial parameters, but it cannot modify parameters of an already *existing* filesystem.

Concept tested: Filesystem parameter tuning for e2fsck

Source: https://man7.org/linux/man-pages/man8/tune2fs.8.html

Topics

#Filesystem management#tune2fs#e2fsck#Ext filesystems

Community Discussion

No community discussion yet for this question.

Full LFCS Practice