On 2016-11-08 03:53, Carlos E. R. wrote:
And I see nothing in the log, so it does not run. Perhaps it does only on boot?
I know why it does not run. cer@Telcontar:~> cat /usr/lib/udev/rules.d/56-idedma.rules # start idedma script for each added IDE device ACTION=="add", SUBSYSTEM=="block", KERNEL=="hd*[!0-9]", RUN+="/lib/udev/idedma.sh $env{DEVNAME}" The "hd" part needs be "sd". So perhaps: ACTION=="add", SUBSYSTEM=="block", KERNEL=="sd*[!0-9]", RUN+="/lib/udev/idedma.sh $env{DEVNAME}" may run. I have modified my machine accordingly, but I don't know if I have to do something to have the rules reread. No, it runs! I see in my log, when hot plugin a hard disk: <3.3> 2016-11-08 04:27:24 Telcontar systemd-udevd 20601 - - failed to execute '/lib/udev/idedma.sh' '/lib/udev/idedma.sh /dev/sdf': No such file or directory Ah. It has to be: ACTION=="add", SUBSYSTEM=="block", KERNEL=="sd*[!0-9]", RUN+="/usr/lib/udev/idedma.sh $env{DEVNAME}" I need to modify /usr/lib/udev/idedma.sh a bit more to my liking. I see some errors. -- Cheers / Saludos, Carlos E. R. (from 13.1 x86_64 "Bottle" at Telcontar)