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

Re: How to automount an usb key ?





Bruno Costacurta wrote:
Hello,

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

I''m having the same trouble with a flash card reader. works like a champ to mount it manually, but cannot get automount to do it. MEanwhile automount works great for my nfs shares... what gives? is it a udev thing maybe?

A

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: