LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Power management of eSATA/USB/Docking station via CLI (https://www.linuxquestions.org/questions/linux-hardware-18/power-management-of-esata-usb-docking-station-via-cli-899534/)

tpe 08-26-2011 02:06 AM

Power management of eSATA/USB/Docking station via CLI
 
Hallo,
I want to do something similar to the unanswered question of this post:
http://www.linuxquestions.org/questi...d-cope-424089/
Meaning:
I want to have an external eSATA or USB(3 preferably) or docking station to host a large HDD on which I will save my backups.I really need to control the power on/off of the external HDD via the CLI. How can I do that?

Thank you
Peter.

Karl Godt 08-27-2011 12:19 PM

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 .


All times are GMT -5. The time now is 03:47 AM.