101-500 practice question 2 of 30
Which of the following commands changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?
Full set: 246 questionsThe tune2fs command is used to adjust tunable parameters on ext2, ext3, and ext4 filesystems. The -i option sets the maximum time interval between filesystem checks. The value is a number followed by an optional character specifying the unit: d for days, w for weeks, or m for months. If no unit is specified, the number is interpreted as days, so -i 200 sets the interval to 200 days.
A. tune2fs -d 200 /dev/sda1: The -d option is used to set filesystem debugging flags, not the check interval.
B. tune2fs -c 200 /dev/sda1: The -c option sets the maximum mount count between checks, which is different from a time-based interval.
D. tune2fs -n 200 /dev/sda1: This is not a valid option in tune2fs for setting a check interval.
E. tune2fs --days 200 /dev/sda1: The tune2fs command does not have a long option named --days for this purpose.
- Linux man page for tune2fs(8). The description for the -i option explicitly states it sets the "maximum time between two filesystem checks."
- Red Hat Enterprise Linux 8 Documentation, "Managing file systems," Section 9.10. "Adjusting file system parameters with tune2fs." This section details the usage of the -i and -c options.
- Bovet, D. P., & Cesati, M. (2005). Understanding the Linux Kernel. O'Reilly Media. Chapter 18, "The Ext2 and Ext3 Filesystems," discusses filesystem parameters managed by tools like tune2fs.
Keep practicing
Take the free 101-500 practice test
Ten exam-style questions with answers and explanations, plus the exam facts and study guides.
More questions
Other 101-500 practice questions
- Question 1Which of the following commands prints a list of available package updates when using RPM…
- Question 3During a system boot cycle, what program is executed after the BIOS completes its tasks?
- Question 4Which of the following commands reboots the system when using SysV init? (Choose TWO corr…
- Question 5Which of the following commands updates the linker cache of shared libraries?
- Question 6Which of the following commands can be used to create a USB storage media from a disk ima…
- Question 7Which of the following commands brings a system running SysV init into a state in which i…
