Linux Foundation Certified System Administrator (LFCS) — Question 42

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: C

Explanation

The correct answer is C, as the '-i' option in the tune2fs command specifies the interval in days between filesystem checks. Option A is incorrect because '-d' is not a valid option for setting check intervals, B is wrong as '-c' sets the maximum mount count before checks, D is incorrect since '-n' does not relate to check intervals, and E is invalid because '--days' is not a recognized parameter for tune2fs.