/etc/fstab
Structure of /etc/fstab
/etc/fstab<file system> <mount point> <type> <options> <dump> <pass>Example of /etc/fstab
/etc/fstab# <file system> <mount point> <type> <options> <dump> <pass>
UUID=a1b2c3d4 / ext4 defaults 1 1
UUID=e5f6g7h8 /home ext4 defaults 1 2
UUID=i9j0k1l2 /data ext4 defaults 0 2
/dev/cdrom /media/cdrom iso9660 ro,user,noauto 0 0
tmpfs /tmp tmpfs defaults,noatime 0 0Detailed Explanation of Fields
<file system>
<file system><mount point>
<mount point><type>
<type><options>
<options><dump>
<dump><pass>
<pass>Practical Examples
Mounting a Root Filesystem
Mounting a Home Directory
Mounting a Data Partition
Mounting a CD-ROM
Mounting a Temporary Filesystem
Summary
Last updated