Which of the following best describes the format of the /etc/fstab file?
A. device name; filesystem type; mount point; mount options; dump filesystem; fsck order
B. device name; mount point; filesystem type; mount options; dump filesystem; fsck order
C. device name; mount point; mount options; filesystem type; dump filesystem; fsck order
D. mount point; filesystem type; device name; mount options; dump filesystem; fsck order
E. mount point; device name; filesystem type; mount options; dump filesystem; fsck order
题解
「/etc/fstab」设置档共有 6 个字段,分别是:
- file system:设备名称(设备文件路径、UUID 或是 LABEL)。
- mount point:挂载设备的文件路径。
- type:设备的文件系统。
- options:文件系统的参数。
- dump:是否用 dump 来进行备份。
- pass:挂载时是否使用 fsck 工具来检查文件系统。
因此答案是选项「B」。
