LPIC-1 Exam 101 v5 (Linux Administrator) — Question 23

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

Correct answer: B

Explanation

The correct command is B, as the '-i' option in tune2fs specifies the maximum number of days between checks. Option A is incorrect because '-d' is not a valid option for this purpose. Options C and D are also incorrect as '-c' sets the maximum number of mounts before a check, and '-n' is not related to time intervals. Option E is incorrect since '--days' is not a recognized argument for tune2fs.