Re: patch to put IDE drives in sleep-mode after an halt

peter k. (spam-goes-to-dev-null@gmx.net)
Thu, 24 May 2001 14:29:29 +0200


> On Thu, May 24, 2001 at 12:03:49PM +0100, Rodrigo Ventura wrote:
> > I am submitting a patch to kernel/sys.c that walks through all
> > IDE drives (#ifdef CONFIG_BLK_DEV_IDE, of course), and issues a
> > "sleep" command (as code in hdparam) to each one of them right before
> > the kernel halts. Here goes the diff:
>
> I'm not going to comment on the idea, just the implementation. Eww.

imho the idea is very good
i was already wondering why the kernel doesnt spin down the hds when i
shutdown...
and its necessary because if you want to move your box the hd heads should
be parked!

- peter k.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/