all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Tomáš Čech" <sleep_walker@gnu.org>
To: guix-devel@gnu.org
Subject: Re: [PATCH] PRELIMINARY: Add support for hibernation.
Date: Mon, 15 Aug 2016 21:57:05 +0200	[thread overview]
Message-ID: <20160815195705.vadazc53zpfyh4iz@venom> (raw)
In-Reply-To: <87bn0u1msx.fsf@netris.org>

[-- Attachment #1: Type: text/plain, Size: 810 bytes --]

Hi Mark,

On Mon, Aug 15, 2016 at 04:03:26AM -0400, Mark H Weaver wrote:
>Hello Guix,
>
>Here's a preliminary patch to add support for hibernation.  To enable
>it, you'll also need to add a line like this to your 'operating-system'
>definition.
>
>  (kernel-arguments '("resume=/dev/sda2"))
>
>Where the device named is a swap partition.
>
>WARNING: Since this is preliminary work, I recommend that the first time
>you test this, be prepared for the possibility that resume will fail.
>So far I've only tested it with simple partitions, without encryption or
>RAID.
>
>It may be that we should add a dedicated 'resume-device' field to the
>'operating-system'.  Thoughts?

That sounds useful. Small note, in all cases I have seen it was using
swap partition - it could be good default value when finished.

S_W

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

  reply	other threads:[~2016-08-15 19:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-15  8:03 [PATCH] PRELIMINARY: Add support for hibernation Mark H Weaver
2016-08-15 19:57 ` Tomáš Čech [this message]
2016-09-02 13:03 ` Ludovic Courtès

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=20160815195705.vadazc53zpfyh4iz@venom \
    --to=sleep_walker@gnu.org \
    --cc=guix-devel@gnu.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.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

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.