From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= Subject: Re: [PATCH] PRELIMINARY: Add support for hibernation. Date: Mon, 15 Aug 2016 21:57:05 +0200 Message-ID: <20160815195705.vadazc53zpfyh4iz@venom> References: <87bn0u1msx.fsf@netris.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="il5d3ik4mj7mripo" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48552) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZO0W-0000F5-Pj for guix-devel@gnu.org; Mon, 15 Aug 2016 15:57:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bZO0T-0004KU-F7 for guix-devel@gnu.org; Mon, 15 Aug 2016 15:57:12 -0400 Received: from mx2.suse.de ([195.135.220.15]:48227) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bZO0T-0004KG-7r for guix-devel@gnu.org; Mon, 15 Aug 2016 15:57:09 -0400 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 6D18FAD82 for ; Mon, 15 Aug 2016 19:57:06 +0000 (UTC) Content-Disposition: inline In-Reply-To: <87bn0u1msx.fsf@netris.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --il5d3ik4mj7mripo Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline 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 --il5d3ik4mj7mripo Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQIcBAEBCAAGBQJXsh59AAoJEEoj40+gM0NtJ/QP/0C07uWsR1SgIvpAN3vyaq3H Od77+LK7UuVu+jbBSkPaGLbWODFm6+fCdfZ/ARAjz0XMmar4GHMQW2GxJLZGJVs2 vQjz9y1Q0Orp2FlyGge58C3gIdiqLapLaSvvDqM2gfIXV4UrMgM0AJ6SdKy+ovdb fLxP+fFguu7+N415KiWnuROyHN4H5hecVsYR+7Nc+a7p3cHfLqOBk/bTJVV7ZdS3 i/8ooONGzS5xfwjDkI8BNqBOJVsMaybe4Ez+DYc3x9BMcltKZvPh+Yy6UJjY1gwp Gf/vqx+rg23mGvplHaM03DGoniBVIEFUQTndPyhv33a38pn1pwFi4o3bGEv+eDnD pAr97i4azRf0Kn08a3m54+b7VAdst53AzFvCbVrmUhKJAEQRdmrTkvbAvU1gL1na fq83DFjknfiI3jVhpoVqGIw8EmqcEaMWTY4wNXRzqGbgrrtZn8fTAZps54zSh5UJ 6aPUbiBBLDZ+ie/Btkdj42VoJtbfSG+jDFQL57rsCCBOJs5ir/HzrZaWYybkZQ1Q FnIy48rnh+XHqp/n21C1JU97Yk+/uTSBM1o/g7bq3YngP4hzdT4qGUiWt+gDwg8A 6VXkchQY3szlns+tDIAdvisvtZWrdITrxKaQ8UfiRl4TgFUCsFQZqD8Gs/0YEuxz dTGsLctna2qDoTbcHVxN =wJTq -----END PGP SIGNATURE----- --il5d3ik4mj7mripo--