在类 Unix 系统中,fstab 通常指 /etc/fstab 配置文件,用于定义文件系统(分区、磁盘、网络存储等)在开机或手动执行挂载时应如何挂载,包括挂载点、文件系统类型、挂载选项等。(也常被口语化称作 “F-stab”。)
/ˈɛf.stæb/
fstab 是 file systems table(文件系统表) 的缩写:fs(filesystem,文件系统)+ tab(table,表)。其命名反映了它的作用——以“表”的形式记录系统需要挂载的文件系统条目。
I added a new entry to fstab to mount the drive at boot.
我在 fstab 里加了一条新记录,让硬盘在开机时自动挂载。
If fstab contains an incorrect UUID, the system may fail to boot and drop into emergency mode.
如果 fstab 写了错误的 UUID,系统可能无法正常启动,并进入紧急模式。
/etc/fstab 与挂载策略)fstab)fstab 的用法与背景)fstab)