Which command changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting?

Prepare for the LPI 101-500 Certification Exam. Utilize flashcards, navigate multiple choice questions, and benefit from hints and explanations. Begin your Linux certification journey today!

The command that sets the number of days before a full filesystem check is required for an ext3 filesystem is represented by the option that includes the '-i' flag. This option allows you to specify the maximum mount count or the time interval between checks, which is defined in days. Specifically, using 'tune2fs -i 200 /dev/sda1' will configure the system to perform a full filesystem check every 200 days. This is particularly useful for maintaining filesystem integrity over time, as regular checks help identify and resolve potential issues before they lead to data loss or corruption.

The other choices do not appropriately configure the time interval for filesystem checks: the '-d' option sets the number of mounts and is not related to time, the '-c' option influences how many times a filesystem can be mounted before a check is forced, and '-n' is used to enable or disable journaling. Each of these serves a different purpose, thus confirming that the correct command for adjusting the days for the filesystem check is indeed the one that employs the '-i' flag.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy