Subject: Re: kern/37508: After jmcneill-pm, disks are switched to standby before rebooting
To: None <gnats-bugs@NetBSD.org>
From: Manuel Bouyer <firstname.lastname@example.org>
Date: 12/15/2007 11:42:55
On Sat, Dec 15, 2007 at 10:40:02AM +0000, Joerg Sonnenberger wrote:
> > From the discussion about the PR mentionned above, it came that we should
> > not spin down a drive on reboot or halt without -p, and an extra argument to
> > the PM callbacks is needed.
> I would like to avoid having to carry an extra argument that is used
> only by a few drivers. What do you think of extending boothowto to
> actually have a RB_REBOOT flag and use that to decide if we are
> currently going to suspend the system/drive or reboot/halt? I have a
> patch for that.
I'm not sure what you mean. Do you mean the drivers should consult the
global variable boothowto ?
Manuel Bouyer <email@example.com>
NetBSD: 26 ans d'experience feront toujours la difference