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    [W:0.019 / U:124.772 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site