Autofs configuration
Hi, I have this config of autofs:
# auto.master
/var/autofs/removable /etc/auto.removable --timeout=2
/var/autofs/nfs /etc/auto.misc --timeout=60
# auto.removable
# devices
cdrom -fstype=iso9660,ro,sync,nodev,nosuid :/dev/cdrom
floppy -fstype=auto,sync,nodev,nosuid :/dev/fd0
# usb pen
usbdrive -fstype=vfat,rw,gid=100,umask=002 :/dev/sda1
# card readers
cfdrive -fstype=vfat,rw,gid=100,umask=002 :/dev/sda1
msdrive -fstype=vfat,rw,gid=100,umask=002 :/dev/sdb1
sddrive -fstype=vfat,rw,gid=100,umask=002 :/dev/sdc1
smdrive -fstype=vfat,rw,gid=100,umask=002 :/dev/sdd1
But whenever I try to access the dirs I get this on /var/log/syslog:
# /var/log/syslog
Jan 27 12:53:51 debian automount[9543]: lookup(program): lookup for usbdrive failed
Jan 27 12:53:51 debian automount[9543]: failed to mount /var/autofs/removable/usbdrive
Jan 27 12:53:51 debian automount[9545]: lookup(program): lookup for usbdrive failed
Jan 27 12:53:51 debian automount[9545]: failed to mount /var/autofs/removable/usbdrive
Jan 27 12:53:51 debian automount[9547]: lookup(program): lookup for usbdrive failed
Jan 27 12:53:51 debian automount[9547]: failed to mount /var/autofs/removable/usbdrive
I can mount the nfs drives but none of the usb.
How can I do this?
The sda* are taken from dmesg
--
Cumprimentos,
Bruno Cochofel,
tlm: +351 912055880
ICQ: 309147167
MSN: bruno.cochofel@gmail.com
Skype: bcochofel
Reply to: