[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

How to automount an usb key ?



Hello,

I  try to setup an automount for an usb key and have the following config :

File auto.master:
/mnt    /etc/auto.misc --timeout=60
File auto.misc:
usbkey          -fstype=auto            :/dev/sda

Directory /mnt is created and autofs daemon seems correctly started as status 
display:
...
Configured Mount Points:
------------------------
/usr/sbin/automount --timeout=60 /mnt file /etc/auto.misc

Active Mount Points:
--------------------
/usr/sbin/automount --pid-file=/var/run/autofs/_mnt.pid --timeout=60 /mnt 
file /etc/auto.misc
...

But automount don't work.
However a manual mount of /dev/sda works fine, so how to automount it ?.

Thanks for any clue.
Bruno



Reply to: