I tried at least 10 times to install (+remove and reinstall), modify configuration files, etc. but autofs currently doesn't work for automounting USB sticks / SD cards.
I decided to investigate more, by testing on a fresh new ArchLinuxArm install. Here are the steps I did (I mainly followed https://wiki.archlinux.org/index.php/Autofs) :
1) Fresh new ArchLinuxArm install from http://os.archlinuxarm.org/os/ArchLinux ... est.tar.gz
2) Login as root from ssh
3) $this->bbcode_second_pass_code('', 'pacman -Sy autofs')
4) nano /etc/autofs/auto.master
I let like it is by default:
$this->bbcode_second_pass_code('', ' /misc /etc/autofs/auto.misc')
5) nano /etc/autofs/auto.misc
I add this line:
$this->bbcode_second_pass_code('', ' usbstick -fstype=auto,async,nodev,nosuid,umask=000 :/dev/sda1')
or later, I also tried with:
$this->bbcode_second_pass_code('', ' usbstick -fstype=auto :/dev/sda1')
(I double-checked: it is /dev/sda1, I can mount it manually and it works.)
6) systemctl start autofs
7) Insert a SD card in the reader. Nothing happens. (I can mount it manually with "mount /dev/sda1 /misc", then it works. But autofs doesn't do the job)
--
Have I forgotten something / done something wrong?
--
Note: It seems that some other people have a similar problem: https://bbs.archlinux.org/viewtopic.php ... 5#p1368185