[ltp] (fwd) [PATCH] sd: implement stop_on_shutdown

U Kuehn linux-thinkpad@linux-thinkpad.org
Thu, 25 Jan 2007 13:25:26 +0100 (MET)


Tino Keitel wrote:
> 
> I use an external USB hard disk that I would like to be shut down after
> suspend to disk to save some energy. It contains permanently mounted
> partitions, e.g. /home, so it isn't a good idea to shut it down from
> userspace IMHO. Would it make sense to use the patch for this? It looks
> like it is intended to work for all kinds of sd device, not just SATA.
> 
Hi Tino,

a related question: what does it take to shut it down even from
userspace? I have a USB/Firewire HD adapter. While with firewire I can
shut down the disk with sdparm, the same thing does _not_ work when the
disk is connected via USB.

Any ideas or hints?

Ulrich