CompTIA Linux+ Powered by LPI (LX0-103) — Question 26
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?
Answer options
- A. tune2fs -d 200 /dev/sda1
- B. tune2fs -c 200 /dev/sda1
- C. tune2fs -i 200 /dev/sda1
- D. tune2fs -n 200 /dev/sda1
- E. tune2fs --days 200 /dev/sda1
Correct answer: C
Explanation
The correct answer is C because the '-i' option in tune2fs specifies the maximum interval between checks in days. Option A is incorrect as it does not exist, B is wrong because '-c' sets the maximum number of mounts between checks, D is not relevant as '-n' does not change check intervals, and E is invalid since '--days' is not a recognized option for tune2fs.