Doing kexec reboot right in systemd
Bouchard Louis
louis.bouchard at canonical.com
Fri Mar 23 05:35:38 EDT 2012
Hello,
Le 22/03/2012 20:14, Marti Raudsepp a écrit :
> Hi list,
>
> I was recently pondering how systemd could use kexec "properly", in a
> reasonably general way, to make reboots faster. I exchanged an email
> with Poettering on the systemd list and he suggested me to ask here.
>
While not done by systemd, isn't is what is done on Debian when
kexec-tools is installed ?
It provides a 'coldreboot' script that does the following :
#!/bin/sh
NOKEXECFILE=/tmp/no-kexec-reboot
/bin/rm -f $NOKEXECFILE
touch $NOKEXECFILE
/sbin/reboot $*
FWIR, using reboot will quickly kexec into a new kernel.
Kind regards,
...Louis
--
Louis Bouchard
Backline Support Analyst
Canonical Ltd
Ubuntu support: http://landscape.canonical.com
More information about the kexec
mailing list