Subject: Re: CVS commit: src/sys/dev/ata
To: Manuel Bouyer <bouyer@antioche.eu.org>
From: Cherry G. Mathew <cherry@sdf.lonestar.org>
List: source-changes
Date: 04/05/2006 07:01:38
On 4/5/06, Manuel Bouyer <bouyer@antioche.eu.org> wrote:
> On Tue, Apr 04, 2006 at 12:17:09PM -0400, Charles M. Hannum wrote:
> > On Tue, Apr 04, 2006 at 07:11:45AM +0000, Cherry G. Mathew wrote:
> > > Sleeps hard disk just before system shutdown.
> > > Some hardware (eg: Apple iBooks) don't do this automatically
> > > and the harddisk behaves as if the power plug were pulled.
> > >
> > > Closes PR: kern/32766
> >
> > This is not an acceptable implementation.  It causes the disks to spin
> > down when you're doing a "reboot" -- which puts considerably more wear
> > on the drive than an "emergency retract" ever did, and is also really,
>
> And this is why I never commited such a solution. We need to be able to k=
now,
> in the shutdown hook, if we're shutting down for a halt or a reboot.
> (and maybe even make a difference between halt and halt -p)
>
>
> > Please back it out at your earliest convenience.
>
> Seconded.
>

I'll re-think this and get to it by end of the week.

--
~Cherry