LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   No auto-mount for USB-Device (http://www.linuxquestions.org/questions/linux-hardware-18/no-auto-mount-for-usb-device-462595/)

tuxangler 07-10-2006 07:52 AM

No auto-mount for USB-Device
 
Hi!
I would like to mount my mobile phone automatically.
My First try was an udev-rule like:

Code:

KERNEL=="ttyUSB[0-6]*", SYSFS{idVendor}=="10ab", SYSFS{idProduct}=="10c5", NAME="mobile", MODE="666", GROUP="uucp", USER="toni", RUN+="/usr/bin/scmxx -d /dev/mobile --set-time", ACTION=="add"
This works well. Time on phone is synced with plugging in the data cable.
It creates the phone as /dev/mobile.

In SuSE 9.3 i solved the problem with subfs. But it has gone with 10.0
How to automatically mount the Mobile's flexmem with SuSE 10.1?
Mount by Hand with "mount /media/mobile" is working.

/etc/fstab
Code:

/dev/mobile          /media/mobile        siefs      rw,auto,exec,user,sync,iocharset=utf8,mode=660 0 0
/etc/auto.master
Code:

/misc  /etc/auto.misc
/etc/auto.misc
Code:

mobile          -fstype=siefs,sync,noatime,nodev,umask=000    :/dev/mobile

fopetesl 07-12-2006 08:24 AM

Can I suggest that you look at the pain I've just had:
http://www.linuxquestions.org/questi...d.php?t=462097

Maybe not exactly what you need but I think the answer lies in autofs.
ATB Peter

tuxangler 07-12-2006 12:07 PM

Thank you for the Link.
But i cant see a Solution for my Problem.


All times are GMT -5. The time now is 04:48 AM.