/etc/fstab

The file that lists what to mount at boot: device, mount point, type, options and two numbers per line.

In more detail

Devices are best named by UUID or LABEL, because device names can change between boots. Test every edit with mount -a or findmnt --verify before rebooting: a line that cannot mount stops the boot in emergency mode unless it has the nofail option.

Example

UUID=3f1c... /data xfs defaults 0 0

Related terms

Related guides

Taught in

References

Certification courses