What Is Fstab in Linux?
Contents Your Linux System’s Filesystem Table, Aka Fstab, Is a Configuration Table Designed to Ease the Burden of Mounting and Unmounting File Systems to a...
Contents
Your Linux system’s filesystem table, aka fstab , is a configuration table designed to ease the burden of mounting and unmounting file systems to a machine. It is a set of rules used to control how different filesystems are treated each time they are introduced to a system.
How use fstab in Linux?
/etc/fstab file
- The /etc/fstab file is a system configuration file that contains all available disks, disk partitions and their options. …
- The /etc/fstab file is used by the mount command, which reads the file to determine which options should be used when mounting the specified device.
- Here is a sample /etc/fstab file:
What are the entries in fstab?
Each entry line in the fstab file contains six fields, each one of them describes a specific information about a filesystem.
- First field – The block device. …
- Second field – The mountpoint. …
- Third field – The filesystem type. …
- Fourth field – Mount options. …
- Fifth field – Should the filesystem be dumped ? …
- Sixth field – Fsck order.