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?
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?
The correct command to change the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting is tune2fs -i 200 /dev/sda1. The -i option in tune2fs sets the time interval between filesystem checks and can be specified in days.
The correct command that changes the number of days before the ext3 filesystem on /dev/sda1 has to run through a full filesystem check while booting is: A. tune2fs -d 200 /dev/sda1 Option B (-c) changes the maximum mount count between two filesystem checks, Option C (-i) changes the maximum time interval between two filesystem checks, Option D (-n) sets the number of reserved filesystem blocks for privileged processes, and Option E is not a valid option for the tune2fs command.
The -d option in the tune2fs command changes the maximum mount count between two filesystem checks. In other words, it specifies the number of days after which the filesystem should be checked on the next boot or mount, expressed as a number of mounts. On the other hand, the -i option in the tune2fs command changes the maximum time interval between two filesystem checks. It specifies the number of days between filesystem checks, expressed as a number of days.
Since the question asks specifically about the number of days before the filesystem check runs, expressed as a number of days, the correct option is -d and not -i. Therefore, option A is correct, and option C is not the correct command to use in this case.
correct. -i interval-between-checks[d|m|w] Adjust the maximal time between two filesystem checks. No suffix or d will interpret the number interval-between-checks as days, m as months, and w as weeks. A value of zero will disable the time-dependent checking.