Page 1 of 1

Autofs

Posted: 17. May 2011, 21:09
by pwatk
I'm trying to set up a simple automount for usb sticks and cd/dvd's on a box that has little more than a core installation.

I've added the following to /etc/auto.master

Code: Select all

/usb    /etc/auto.usb
and this to /etc/auto.usb (as per the instructions at http://www.autofs.org).

Code: Select all

*	-fstype=auto,sync       :/dev/sd&
Although the /misc and /usb directories are created when I start the autofs service, nothing is mounted when connected to the system.

Can anyone point me in the right direction?

Thanks.

Re: Autofs

Posted: 17. May 2011, 21:44
by thenktor
I've never used autofs but in most cases you want to mount /dev/sdX1 so perhaps you need "/dev/sd&1" in your config?