DragonFly commits List (threaded) for 2007-05
DragonFly BSD
DragonFly commits List (threaded) for 2007-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: cvs commit: src/sys/kern kern_shutdown.c src/sys/platform/vkernel/platform init.c


From: Sascha Wildner <saw@xxxxxxxxx>
Date: Mon, 28 May 2007 02:23:04 +0200
Cc: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>

Sascha Wildner wrote:
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?

Aw, sorry. You wrote it. :)


Sascha

--
http://yoyodyne.ath.cx



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]