All of lore.kernel.org
 help / color / mirror / Atom feed
From: Bouchard Louis <louis.bouchard@canonical.com>
To: kexec@lists.infradead.org
Subject: Re: Doing kexec reboot right in systemd
Date: Fri, 23 Mar 2012 10:35:38 +0100	[thread overview]
Message-ID: <4F6C43EA.5010405@canonical.com> (raw)
In-Reply-To: <CABRT9RAB--szWwmYO9_JyjXRP-9YYgkG-TsAg8jS=birUF2e=w@mail.gmail.com>

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

_______________________________________________
kexec mailing list
kexec@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/kexec

  parent reply	other threads:[~2012-03-23  9:36 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-22 19:14 Doing kexec reboot right in systemd Marti Raudsepp
2012-03-22 22:36 ` Simon Horman
2012-03-26 18:07   ` Lennart Poettering
2012-03-26 18:25     ` Marti Raudsepp
2012-03-27 10:01       ` Lennart Poettering
2012-03-27 23:19         ` Simon Horman
2012-03-23  9:35 ` Bouchard Louis [this message]
2012-03-23 18:45   ` Marti Raudsepp

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F6C43EA.5010405@canonical.com \
    --to=louis.bouchard@canonical.com \
    --cc=kexec@lists.infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.