[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: 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
-=====-==--- -==- ==---

 \ /
  Last update: 2008-06-24 11:17    [W:0.037 / U:32.664 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site