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

Re: How to automount an usb key ?



On 1/2/06, Bruno Costacurta <cd1@biz.tiscali.be> wrote:
> 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

Use udev and autofs as described in
http://www.debian-administration.org/articles/127

--
L.V.Gandhi
http://lvgandhi.tripod.com/
linux user No.205042



Reply to: