My auto.master:
Code: Select all
#
# Sample auto.master file
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# For details of the format look at autofs(5).
#
/misc /etc/auto.misc
#
# NOTE: mounts done from a hosts map will be mounted with the
# "nosuid" and "nodev" options unless the "suid" and "dev"
# options are explicitly given.
#
/net -hosts
#
# Include central master map if it can be found using
# nsswitch sources.
#
# Note that if there are entries for /net or /misc (as
# above) in the included master map any keys that are the
# same will not be seen as the first read key seen takes
# precedence.
#
+auto.master
Code: Select all
#
# 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=auto,ro,nosuid,nodev :/dev/cdrom
usb-flash -fstype=auto,ro,nosuid,nodev :/dev/sdb
usdb-hdd -fstype=auto,ro,nosuid,nodev :/dev/sdb1
# the following entries are samples to pique your imagination
#linux -ro,soft,intr ftp.example.org:/pub/linux
#boot -fstype=ext2 :/dev/hda1
#floppy -fstype=auto :/dev/fd0
#floppy -fstype=ext2 :/dev/fd0
#e2floppy -fstype=ext2 :/dev/fd0
#jaz -fstype=ext2 :/dev/sdc1
#removable -fstype=ext2 :/dev/hdd
And yes, I've created /misc. Also tried to create /misc/cd, etc. but those got deleted automatically - I wasn't clear on whether they were needed, it looks like they're not supposed to be. Anyway the automount process runs, but nothing gets mounted.
What gives?
Edit: OMG I AM SO STUPID. The directory does not exist until it is accessed through LS or somesuch. Brilliant!
In more positive news, though, it looks like I'm done with HAL.