On Sat, Jan 20, 2001 at 02:03:54PM +0100, Bostjan Muller wrote: :Hi! : :I can't get automount to work. Has anyone had any success with it? I have the :autofs module compiled for my kernel and loaded (2.2.18), and the autofs :mounter is running, and scripts for it area appended.
I live and die by this, though my setup is different (using NIS based auto.<foo> maps) I suspect it's working but not how you expect. Put a CDROM in and "cd /cd-rw/cd". note that you may create the /cd-rw directory (if it doesnt't exist that's ok too), you must *not* create any sub-directories. Like wise the floppy disk will be mounted as /floppy/floppy with this setup. The ":" in ":/dev/fd0" seems odd to me, but that seems part of the example. All my automount are NFS so they're host:/path.... -Jon :# $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). :/var/autofs/misc /etc/auto.misc :/floppy /etc/auto.floppy --timeout 10 :/cd-rw /etc/auto.cd-rw --timeout 10 :# $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 ftp.kernel.org:/pub/linux :#boot -fstype=ext2 :/dev/hda5 :#removable -fstype=ext2,sync,nodev,nosuid :/dev/hdd :#cd -fstype=iso9660,ro,nodev,nosuid :/dev/scd1 :#floppy -fstype=auto,sync,nodev,nosuid :/dev/fd0 :floppy -fstype=auto,umask=000 :/dev/fd0 :# $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 :cd -fstype=iso9660,ro,nodev,nosuid :/dev/scd1