All of lore.kernel.org
 help / color / mirror / Atom feed
From: Michael Tokarev <mjt@tls.msk.ru>
To: linux-pm@vger.kernel.org
Subject: resume from hibernation without touching saved image?
Date: Fri, 31 Oct 2014 15:00:26 +0300	[thread overview]
Message-ID: <545379DA.8070701@msgid.tls.msk.ru> (raw)

Hello again.

Currently, linux kernel is able to resume from a previously saved
image, and it basically clears up that image when done, so there's
no way to resume from it once more.

Is it possible to _not_ touch the image at all and keep it in the
same state as before?  Maybe putting it to a readonly block device
(like blockdev --setro, or mdadm readonly array) will help?

What I'm thinking is to speed up starting of a diskless client which
boots out of read-only filesystem - the only thing it needs to do is
to start X server and connect to a terminal server, but booting it
to the point when it can do that requires some time.  So I'm thinking
about booting it there and suspending it, so it can be resumed later,
so the only thing left is just to start X.  That works, but the prob
is that it works only once.

So, basically, how to turn off that feature which resets the saved
hibernation image at the end of resume process?

Thanks,

/mjt

             reply	other threads:[~2014-10-31 12:00 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-31 12:00 Michael Tokarev [this message]
2014-10-31 23:00 ` resume from hibernation without touching saved image? Rafael J. Wysocki
2014-11-01  5:16   ` Michael Tokarev

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=545379DA.8070701@msgid.tls.msk.ru \
    --to=mjt@tls.msk.ru \
    --cc=linux-pm@vger.kernel.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.