RHCE # Week # 270

Question: 

Which of the following tools can be used to add a journal to an ext2 system, making it an ext3 system, as well as to display or set the maximum number of mounts before a check is forced.

 A. xfs_admin
 B. debug2fs
 C. dump2fs
 D. tune2fs

Explanation:

  • The xfs_admin tools is used to change the parameters of an XFS file system.
  • The debug2fs tool is used to examine or change the state of an ext2 or ext3 file system.
  • The dump2fs tools is used to print the super block and block group descriptior information for an ext2 or ext3 file system.
  • The tune2fs tool is used to add a journal to an ext2 sytem, making it an ext3 system, as well asto display or set the maximum number of mounts before a check is forced. It can also be used to perform various tasks, such as to assign a label and set or disable various optional features of a file system.

Answer: D