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.

See also Autofs in Gentoo Wiki.

Installation
To enable the kernel based automounter:

is available on Gentoo Linux and supports the following useflags

You can install AutoFS using the following command:

Start and add AutoFS to the default runlevel:

The configuration files are located in Configuration Files

Usage
General configuration files for 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 /mnt/auto

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

Links

 * tldp.org