Autofs

Other talk about Salix
Post Reply
User avatar
pwatk
Posts: 474
Joined: 14. Mar 2010, 23:56
Location: United Kingdom

Autofs

Post 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.
Image
User avatar
thenktor
Salix Wizard
Posts: 2426
Joined: 6. Jun 2009, 14:47
Location: Franconia
Contact:

Re: Autofs

Post 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?
Image
burnCDDA (burns audio CDs)
geBIERt (German beer blog)
Post Reply