Messages in this thread | | | Date | Tue, 24 Jun 2008 11:12:56 +0200 | From | Stefan Richter <> | Subject | Re: USB attached SATA disk idle spindown |
| |
Stefan Richter wrote: > Johannes recently informed me that he wrote a script which is used like > a background daemon to stop idle USB disks. The script uses > - "cat /sys/block/${device}/stat" to watch disk activity, > - "sdparm -q -C stop /dev/${device}" to stop the motor after > longer inactivity.
PS: I have seen START STOP UNIT with START=0 to be dangerous with some FireWire firmwares. (Motor cannot be restarted after that anymore.) Other firmwares ignore the START bit and look only at the POWER CONDITIONS field. I expect various similar firmware quirks in USB land. -- Stefan Richter -=====-==--- -==- ==--- http://arcgraph.de/sr/
| |