Linux autofs
This the automount daemon used for remote filesystem mounting such as nfs along with mounting CDROM and floppy drives automatically. It uses the automount(8) program to run as a background task to perform the automatic mounts when required. There is a man page on the autofs(8) script. This script basically will read the configuration file, /etc/auto.master and pass parameters from this file to the automount program. An example file:
# $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $
# Sample auto.master file
# Format of this file:
# mount point map options
# For details of the format look at autofs(8).
/mnt /etc/auto.misc --timeout 20
There is a man page for auto.master(5). This file specifies the file /etc/auto.misc for device mounts. The /etc/auto.misc on my system is:
# $Id: auto.misc,v 1.2 1997/10/06 21:52:04 hpa Exp $
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
#kernel -ro,soft,intr ftp.kernel.org:/pub/linux
cd -fstype=iso9660,ro :/dev/cdrom
# the following entries are samples to pique your imagination
fl -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
|