I got autofs to mount a partition. It works fine, except I can't get it to mount with write privileges to regular users.
I tried with this in auto.master:
/misc /etc/auto.misc --timeout=60
and this in auto.misc:
data -fstype=vfat,rw :/dev/sda5
And I didn't get it to work.
When I was using fstab, the solution was to let users mount it passing the user mount option. Is there a way to make autofs mount stuff as the current user?
EDIT: forgot to mention, using the user option in auto.misc also didn't work.