Autofs setup [1] /etc/auto.master # $Id: auto.master,v 1.2 1997/10/06 21:52:03 hpa Exp $ # Sample auto.master file # Format of this file: # mountpoint map options # For details of the format look at autofs(8). /misc /etc/auto.misc --timeout 60 /net /etc/auto.net [2] /etc/auto.misc # $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 cdrom -fstype=iso9660,ro :/dev/cdrom # the following entries are samples to pique your imagination #floppy -fstype=auto :/dev/fd0 #floppy -fstype=ext2 :/dev/fd0 #e2floppy -fstype=ext2 :/dev/fd0 #jaz -fstype=ext2 :/dev/sdc1 [3] /etc/auto.net # $Id: auto.net,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 * -fstype=autofs,-Dhost=& file:/etc/auto.netsub [4] /etc/auto.netsub # $Id: auto.netsub,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 * -rw,soft,intr ${host}:/& [4] Start autofs # /etc/rc.d/init.d/autofs start