I've recently installed AutoFS to see if I can get my Arch machine to automount devices/media like I can in Ubuntu (this is what it's for, is it not?). I'm following the wiki page
on setting it up, but I'm noticing that something's up, and I can't get anything to mount automatically.
According to the wiki page, my /etc/autofs/auto.master
should look like this (or at least "similar" to it):
But I've got this instead:
# Sample auto.master file
# Format of this file:
# mountpoint map options
# For details of the format look at autofs(5).
There is no auto.media, but there is an auto.misc, and I edited it to (presumably) suit my needs:
# 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
cdrom -fstype=iso9660,ro,nodev,nosuid :/dev/sr0
floppy -fstype=auto,async,nodev,nosuid,umask=000 :/dev/fd0
usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sdb1
But even if I restart the daemon (/etc/rc.d/autofs restart
), it still doesn't do anything when I plug in my USB stick. Well, okay, it shows up as an icon on my desktop, but it always has done that, and when I try to open it, I just get an error dialog:
Failed to mount "PORTABLE".
Rejected send message, 1 matched rules; type="method_call", sender=":1.11" (uid=1000 pid=1754 comm="exo-mount) interface="org.freedesktop.Hal.Device.Volume" member="Mount" error name="(unset)" requested_reply=0 destination="org.freedesktop.Hal" (uid=0 pid=1097 comm="/usr/sbin/hald)).
So it's not
mounting at all.
I apologize if this is a n00bish question, but I've searched around the forums, and I couldn't find anything that was pertinent enough to my situation to be helpful.