<div dir="ltr">Hi.<br>
Would it be possible to bind something to the start and stop actions of<br>
a device unit ?<br>
I've got a device (a hard drive) that I can programmatically plug/unplug<br>
using commands such as "echo '0 0 0' > /sys/class/scsi_host/host1/<div id=":5q">scan"<br>
and "echo 1<br>
> /sys/devices/pci0000:00/0000:00:1f.2/ata2/host1/target1:0:0/1:0:0:0/delete". The goal is reducing noise.<br>
It would be nice to bind these commands in the device unit itself so<br>
that other units needing it can start it by themselves, etc.<br>
<br>
Thanks,<br>
<br>
Léo Gillot-Lamure.</div></div>