# Rules for USBmount KERNEL=="sd*", DRIVERS=="usb-storage", ACTION=="add", RUN+="/etc/usbautomount/usbautomount add" KERNEL=="ub*", DRIVERS=="usb-storage", ACTION=="add", RUN+="/etc/usbautomount/usbautomount add" KERNEL=="sd*", ACTION=="remove", RUN+="/etc/usbautomount/usbautomount remove" KERNEL=="ub*", ACTION=="remove", RUN+="/etc/usbautomount/usbautomount remove"