AutoFS

AutoFS uses the Linux kernel Automounter to automatically mount several types of media like memory sticks, network shares, CD-Rom/DVD/BR etc. on demand.

Kernel
You need to activate the following kernel options:

Software
Install :

Service
Start and add AutoFS to the default runlevel:

Files
The configuration files are located in:

Usage
General configuration files for AutoFS.

autofs configuration
The default options for autofs can be changed by setting the proper configuration variables located in. The default location for the master map is. It can be changed by setting the MASTER_MAP_NAME configuration variable in /etc/conf.d/autofs.

auto.master
In this configuration file is defined what other configuration files should be included as root mount-point. Here is one example with one additional mount-point on :

auto.misc
Here is our example for the file auto.misc. The folders for the mount-points are automatically created

External resources

 * Automount mini-Howto on The Linux Documentation Project website