lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Tue, 24 Jun 2008 11:12:56 +0200
From:	Stefan Richter <stefanr@...6.in-berlin.de>
To:	Jonathan Steinert <hachi@...ki.net>
CC:	linux-kernel@...r.kernel.org,
	Johannes Niess <linux@...annes-niess.de>,
	linux-usb@...r.kernel.org
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/
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ