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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access