Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/dev/ata



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 know,
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.

-- 
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
     NetBSD: 26 ans d'experience feront toujours la difference
--



Home | Main Index | Thread Index | Old Index