[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: CVS commit: src/sys/kern
On Thu, Feb 21, 2008 at 01:41:31PM -0600, David Young wrote:
> On Thu, Feb 21, 2008 at 06:54:29PM +0100, Manuel Bouyer wrote:
> > On Thu, Feb 21, 2008 at 11:19:15AM -0600, David Young wrote:
> > > I happen to agree that suspending devices at shutdown is wrong. Joerg and
> > > I had some productive discussions on the topic over on tech-kern@, and I
> > > have been testing code in the mean time that detaches devices at shutdown,
> > > instead of suspending them.
> > Some of them have to be suspended on some cases. E.g. hard disks:
> > you don't want to spin them down on reboot or shutdown -h (because
> > this will most likely ends up in a gratuicious spin down/up cycle),
> > but you do want to spin them down on shutdown -p, because some hardware
> > (some models of powerboot at last, there was a PR about this) don't
> > properly stop the drive before removing power otherwise.
> We can distinguish the powerdown case with a new DETACH_ flag. Do you
Why not add 3 flags then (reboot, halt, powerdown) ?
> mean Powerbook?
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |