Subject: Re: kern/37508: After jmcneill-pm, disks are switched to standby before rebooting
To: None <>
From: Manuel Bouyer <>
List: netbsd-bugs
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 <>
     NetBSD: 26 ans d'experience feront toujours la difference