|
udevd might control the loading of drivers , mainly by triggering the modprobe command or a shellscript using the modprobe command , after some files for the new device show up somewhere in /sys .
I don't know if it possible to poweroff an external /dev but the hdparm command could be cabable of spinning down a drive .
Aditionally there is also a sdparm command .
|