I have a USB device which I want to Mount on plug-in and transfer some files from
I’m pretty sure I’m not writing the udev rule right
help would be appreciated
99-scan.rules
KERNEL==“sd*”, ACTION==“add”,SUBSYSTEMS==“usb”, ATTRS{USEC_INITIALIZED}==“292724882457”, RUN+=“bash /root/hdd/Disk/scan.sh”
or
KERNEL==“sd?1”, ATTRS{idVendor}==“04f9”, ATTRS{idProduct}==“60e6”, ATTRS{serial}==“E75046F7U111320”, RUN+="/root/hdd/Disk/scan.sh"