Subject: Re: Shutdown - not too fast?
To: Quentin Garnier <cube@cubidou.net>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: netbsd-users
Date: 03/01/2006 20:51:04
On Wed, Mar 01, 2006 at 10:57:44AM +0100, Quentin Garnier wrote:
> > It doesn't look that bad - seems, that even without powerd the system is
> > halted in quite "soft" way.
>
> If the file-systems happened to be in a consistent state, or all mounted
> read-only, then it was fine, but anything else warrants a fsck at
> reboot.
No, even without powerd, the system will attempt to halt properly,
see sys/dev/sysmon/sysmon_power.c:
case PSWITCH_TYPE_POWER:
[...]
cpu_reboot(RB_POWERDOWN, NULL);
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 26 ans d'experience feront toujours la difference
--