cvs commit: src/sys/kern kern_shutdown.c src/sys/platform/vkernel/platform init.c
Sascha Wildner
saw at online.de
Sun May 27 17:18:51 PDT 2007
Matthew Dillon wrote:
dillon 2007/05/27 16:28:30 PDT
DragonFly src repository
Modified files:
sys/kern kern_shutdown.c
sys/platform/vkernel/platform init.c
Log:
From within a virtual kernel, make /sbin/shutdown and /sbin/halt actually
halt and exit the vkernel, and make /sbin/reboot automatically re-exec
a fresh vkernel.
Talk about creating a clean slate! Having reboot re-exec the vkernel
is really nice. The kernel development cycle time is now down to around
18 seconds, reboot -n -q to root login prompt, and 28 seconds for a normal
reboot. That's running a vkernel with a normal RC startup and as a
bridged DHCP client.
Hmm, now that reboot re-execs the vkernel, what's the way to actually
shutdown it without rebooting and without triggering an fsck upon the
next start?
Sascha
--
http://yoyodyne.ath.cx
More information about the Commits
mailing list