You are not logged in.

#1 2007-06-12 02:13:48

abhaysahai
Member
Registered: 2005-07-12
Posts: 51

Autofs not working

Hi,
I tried auto mounting my USB key drive and USB camera to automount but not sure where I am missing.
Here is my approac.
I followed  this wiki!
http://wiki.archlinux.org/index.php/AutoFS_HowTo

my rc.conf reads

DAEMONS=(syslog-ng network netfs crond kdm alsa hal autofs dbus)

and my fstab
/dev/sdb1       /mnt/usb   vfat noauto,users,rw   1  0

However, everytime I have to do a manual mount of /mnt/usb.
I would like my usb drive and camera to be auto mounted and the suggestions for appropriate application to open. Eg with the camera, digicam should open.

I am using kdemod.

EDIT::
When i do lshal and then connect the USB drive I get this output
bash-3.2# lshal -m

Start monitoring devicelist:
-------------------------------------------------
08:13:37.895: usb_device_66f_82e0_23DE9147973C4E9A added
08:13:37.928: usb_device_66f_82e0_23DE9147973C4E9A_if0 added
08:13:37.972: usb_device_66f_82e0_23DE9147973C4E9A_usbraw added
08:13:42.933: usb_device_66f_82e0_23DE9147973C4E9A_if0_scsi_generic added
08:13:42.941: usb_device_66f_82e0_23DE9147973C4E9A_if0_scsi_host added
08:13:42.941: usb_device_66f_82e0_23DE9147973C4E9A_if0_scsi_host_scsi_device_lun0 added
08:13:43.134: storage_serial_T_sonic_610_23DE9147973C4E9A_0_0 added
08:13:43.345: volume_uuid_B84A_0717 added

So hal is detecting a USB drive, but does not automount.

Regards,
Abhay

Last edited by abhaysahai (2007-06-12 02:45:26)

Offline

#2 2007-06-12 07:13:06

Leigh
Member
From: USA
Registered: 2004-06-25
Posts: 533

Re: Autofs not working

This wiki might help you....

http://wiki.archlinux.org/index.php/Udev#Udev_Tricks

Last edited by Leigh (2007-06-12 07:15:07)


-- archlinux 是一个极好的 linux

Offline

#3 2007-06-12 07:37:53

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: Autofs not working

My suggestion is to try the hal/dbus aprotch instead of autofs. Atleast for me it has been alot more just works(tm)

http://wiki.archlinux.org/index.php/HAL

When it comes to the camera, Is it set up for  mass storage or ptp?

Edit2: Oh, and you shoudn't need to set up a line in fstab. That can actualy breake automounting.

Last edited by Mr.Elendig (2007-06-12 07:39:31)


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB