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?

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

题解

「tune2fs」指令可以调整 ext 文件系统的参数。

选项 A,「tune2fs」指令没有「-d」参数。

选项 B,「-c」参数可以设置文件系统在挂载多少次之后就会使用 e2fsck 工具检查。

选项 C,「-i」参数可以设置文件系统检查的时间间隔,预设时间单位是天。所以这个选项是正确答案。

选项 D,「tune2fs」指令没有「-n」参数。

选项 E,「tune2fs」指令没有「--days」参数。