alexparser Posted September 8, 2017 Posted September 8, 2017 HI, I success use follow UDEV rules for mount usb dev. But have problem, this can mount only one usb dev in directory /media/usb How make a multiple mounts like: /media/usb/dev1 /media/usb/dev2 etc... ACTION=="add", KERNEL=="sd*", SYMLINK+="usbdisk%n" ACTION=="add", KERNEL=="sd*", RUN+="/bin/mount /dev/%k /media/usb", OWNER="root" KERNEL=="sd[a-d][0-9]", OWNER="root" ACTION=="remove", KERNEL=="sd*", RUN+="/bin/umount /media/usb"
Recommended Posts