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」參數。