lkml.org 
[lkml]   [2008]   [Jun]   [24]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
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
-=====-==--- -==- ==---
http://arcgraph.de/sr/

\
 
 \ /
  Last update: 2008-06-24 11:17    [from the cache]
©2003-2011 Jasper Spaans. Advertise on this site