All of lore.kernel.org
 help / color / mirror / Atom feed
* resume from hibernation without touching saved image?
@ 2014-10-31 12:00 Michael Tokarev
  2014-10-31 23:00 ` Rafael J. Wysocki
  0 siblings, 1 reply; 3+ messages in thread
From: Michael Tokarev @ 2014-10-31 12:00 UTC (permalink / raw)
  To: linux-pm

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-11-01  5:16 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-31 12:00 resume from hibernation without touching saved image? Michael Tokarev
2014-10-31 23:00 ` Rafael J. Wysocki
2014-11-01  5:16   ` Michael Tokarev

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.