Hard disk power management

Dan Nicholson dbn.lists at gmail.com
Mon Dec 18 21:11:17 PST 2006


On 12/17/06, kitts <kitts.mailinglists at gmail.com> wrote:
> On Sunday 17 December 2006 16:47 IST, Richard Hughes wrote:
> > [1] http://lists.freedesktop.org/archives/hal/2005-August/003116.html
>
> I went through that mail and from it i seem to learn that hdparm only works
> with IDE drives. I have a SATA drive in my laptop. Could that be the issue?
>
> I initiated a heavy disk read that lasted several seconds with the
> command 'updatedb' and simultaneously monitored the disk state with hdparm.
> I through the read responded 'standby'?
>
> $ sudo hdparm -C /dev/sda
>
> /dev/sda:
>  drive state is:  standby

I think you need to use sdparm, which speaks SCSI.

http://sg.torque.net/sg/sdparm.html

--
Dan


More information about the hal mailing list