Re: Status of hibernation (suspend to disk) in Guix

2023-01-07 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer (2022-12-21 13:27:25 +0100) wrote: > […] I sent an alternative, more elaborated patch to #59746. […] Just a heads up for anyone following the thread but not the issue: the changes got merged by Ludo in c9b383fb with a few fixes. Thanks everyone for your help! -- Ivan

Re: Status of hibernation (suspend to disk) in Guix

2022-12-21 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer (2022-12-14 10:43:46 +0100) wrote: > Since it's unlikely that the file will change its block arrangement on disk, > and enlarging it requires another invocation of `mkswap`, it's probably enough > to tell the user to check for such warnings on `mkswap` invocation (in

Re: Status of hibernation (suspend to disk) in Guix

2022-12-14 Thread Nathan Dehnel
> 2. Does hibernation work in case of a swap-file inside a root-partition inside a luks-encrypted device? Just posting to confirm that this does work (with BTRFS as well; single drive only, not RAID).

Re: Status of hibernation (suspend to disk) in Guix

2022-12-14 Thread Ivan Vilata i Balaguer
Ivan Vilata i Balaguer (2022-12-12 21:11:53 +0100) wrote: > Mekeor Melire (2022-12-10 01:00:24 +) wrote: > > > > What about the "filefrag" executable from the "e2fsprogs" package. > > > According to this article, it can be used in place of the deprecated > > > uswsusp suite: > > > > > >

Re: Status of hibernation (suspend to disk) in Guix

2022-12-12 Thread Ivan Vilata i Balaguer
Mekeor Melire (2022-12-10 01:00:24 +) wrote: > 2022-12-09 23:10 mek...@posteo.de: > > > 2022-12-05 17:23 i...@selidor.net: > > > > > in #59746 I skipped documenting `resume_offset` with more detail, even > > > if it's needed for resuming from a swap file. The reason is that > > > according

Re: Status of hibernation (suspend to disk) in Guix

2022-12-09 Thread Mekeor Melire
2022-12-09 23:10 mek...@posteo.de: > 2022-12-05 17:23 i...@selidor.net: > > > in #59746 I skipped documenting `resume_offset` with more detail, even > > if it's needed for resuming from a swap file. The reason is that > > according to [swsusp doc][1], some specific tool may be needed to > >

Re: Status of hibernation (suspend to disk) in Guix

2022-12-09 Thread Mekeor Melire
2022-12-05 17:23 i...@selidor.net: > in #59746 I skipped documenting `resume_offset` with more detail, even > if it's needed for resuming from a swap file. The reason is that > according to [swsusp doc][1], some specific tool may be needed to > compute the swap file offset. There is

Re: Status of hibernation (suspend to disk) in Guix

2022-12-09 Thread Jack Hill
On Fri, 9 Dec 2022, Mekeor Melire wrote: Thanks for making hibernation work and for bringing that up. I have two questions: 1. Does hibernation work in case of swap-partition inside an luks-encrypted device? Yes, this works for me (nested LVM in LUKS too) 2. Does hibernation work in

Re: Status of hibernation (suspend to disk) in Guix

2022-12-09 Thread Mekeor Melire
2022-12-02 21:32 m...@tobias.gr: > Ivan Vilata i Balaguer 写道: > > But then I wonder if I may have rushed to post the patch, as I don't > > know whether hibernation is supposed to be more or less mature or > > supported in Guix (we may not want to encourage people to use a > > feature which may

Re: Status of hibernation (suspend to disk) in Guix

2022-12-05 Thread Ivan Vilata i Balaguer
Thanks for the update, Tobias! More inline… Tobias Geerinckx-Rice (2022-12-02 21:32:09 +0100) wrote: > Ivan Vilata i Balaguer 写道: > > So the TL;DR would be: Is it worth adding such documentation, given the > > current state of hibernation support in Guix? > > I think documenting the current

Re: Status of hibernation (suspend to disk) in Guix

2022-12-02 Thread Tobias Geerinckx-Rice
Ivan Vilata i Balaguer 写道: But then I wonder if I may have rushed to post the patch, as I don't know whether hibernation is supposed to be more or less mature or supported in Guix (we may not want to encourage people to use a feature which may easily cause data loss)… Though it works quite

Status of hibernation (suspend to disk) in Guix

2022-12-02 Thread Ivan Vilata i Balaguer
(I'm not subscribed to the list, please CC me in replies. Thanks!) Hi everyone! As I had promised to myself and some guixers at Capitole du Libre (salut les collègues !), I finally installed the Guix System in my laptop (already time after 6+ years of using Guix packages!). Although my setup