autofs will nicht
N'Abend,
ich bin nach <https://wiki.debian.org/AutoFs> vorgegangen, mein Sony
Xperia per AutoFS einzubinden:
--[ xterm.log ]---------------------------------------------------------
root:~$ udevadm info -a -p /sys/block/sdb/sdb1/ |grep model
ATTRS{model}="File-CD Gadget "
root:~$ echo 'SUBSYSTEM=="scsi", ATTRS{model}=="File-CD Gadget ", SYMLINK+="ehd%n"' >/etc/udev/rules.d/custom.rules
root:~$ echo 'SUBSYSTEM=="scsi", KERNEL=="sd?1", ATTRS{model}=="File-CD Gadget ", SYMLINK+="sonyxperia" >>/etc/udev/rules.d/custom.rules
root:~$ /etc/init.d/udev restart
[ ok ] Stopping the hotplug events dispatcher: udevd.
[ ok ] Starting the hotplug events dispatcher: udevd.
root:~$ ls -l /dev/ehd*
ls: cannot access /dev/ehd*: No such file or directory
root:~$ ls -l /dev/sonyxperia
ls: cannot access /dev/sonyxperia: No such file or directory
root:~$ echo "/var/autofs/removable /etc/auto.removable --timeout=2,sync,nodev,nosuid" >>/etc/auto.master
root:~$ echo 'usb -fstype=auto UUID=9016-4EF8' >>/etc/auto.removable
root:~$ /etc/init.d/autofs restart
[ ok ] Stopping automount....
[ ok ] Starting automount....
root:~$ blkid /dev/sdb1
/dev/sdb1: UUID="9016-4EF8" TYPE="vfat"
root:~$ /etc/init.d/autofs restart
[ ok ] Stopping automount....
[ ok ] Starting automount....
root:~$
------------------------------------------------------------------------
So, UDEV scheitert also schon am erstellen der Devices /dev/edh*
Kann mir hier jemand weiterhelfen?
Danke
Michelle
--
Michelle Konzack ITSystems
GNU/Linux Developer 0049-176-86004575
Reply to: