Automating the Mounting Process

The mounting process can be automated by configuring the filesystem table file (/etc/fstab). You can do this by adding the drive device in question to the automount filesystem table contained in the /etc/fstab file.

When you start the system, Linux mounts certain devices automatically. The /etc/fstab file contains information about these devices that is necessary to have them mounted without interaction from the system administrator.

The /etc/fstab file offers two kinds of functionality. Entries in the fstab file can be configured to have specific filesystems mounted automatically each time the system boots. Furthermore, by defining an entry in the /etc/fstab file, you don't have to supply the entire mount command ...

Get Special Edition Using Linux®, Sixth Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.