From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id aKcCKg7Bk2OTDAEAbAwnHQ (envelope-from ) for ; Sat, 10 Dec 2022 00:13:18 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id uNzwKQ7Bk2NaHAAAauVa8A (envelope-from ) for ; Sat, 10 Dec 2022 00:13:18 +0100 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 6066E3940E for ; Sat, 10 Dec 2022 00:13:18 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3mXr-0001oN-O2; Fri, 09 Dec 2022 18:12:43 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3mXo-0001o5-U6 for guix-devel@gnu.org; Fri, 09 Dec 2022 18:12:41 -0500 Received: from mout02.posteo.de ([185.67.36.66]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p3mXm-0000Sz-TD for guix-devel@gnu.org; Fri, 09 Dec 2022 18:12:40 -0500 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 26567240104 for ; Sat, 10 Dec 2022 00:12:36 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.de; s=2017; t=1670627556; bh=wGmOOmiC4Ceyh/rJ+vzu1FcIe8f40BsJFa2PKwyh7e4=; h=From:To:Cc:Subject:Date:From; b=D1+jTI18Olo/qCgA5iarEKA8Pq8U/GrN7aLk/VZNICfXKx3cuipf47dkZppvGEpoV gVt6gGHEK80PwQ0fctDLhlC8rFmjhtsA7ynS/jQM79rhUPue02DKsISFPatHLsV8L8 +2Nhvk3S0kgfh09dapwmKPdSmxRbWXNkrL5S3BCLpQQ2BYMQhv6csn69cpAfoWBc4a 9rS7GdKjNuwEtt8GH+K3Qaxki8uIuOiwtobuWmmJ42Vudn377W4Me5JUCa9aV8NPcQ Jhzu7SBAv9+1BcsFzHAyl5mJH37IPFnNHZbkqKzFnnsp/acUC7JC29FTgf0h3dDd4J 37p5QOP5FKSVQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4NTRcy4qRKz6tmp; Sat, 10 Dec 2022 00:12:34 +0100 (CET) References: <87wn79wnfj.fsf@nckx> From: Mekeor Melire To: Ivan Vilata i Balaguer Cc: Tobias Geerinckx-Rice , guix-devel@gnu.org Subject: Re: Status of hibernation (suspend to disk) in Guix Date: Fri, 09 Dec 2022 23:10:24 +0000 In-reply-to: Message-ID: <87bkockw84.fsf@posteo.de> MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=185.67.36.66; envelope-from=mekeor@posteo.de; helo=mout02.posteo.de X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list 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+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670627598; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=wGmOOmiC4Ceyh/rJ+vzu1FcIe8f40BsJFa2PKwyh7e4=; b=ZraxITu6ydVXOBw9csJM5KNrl813CV1FuRDDC2+P7mqnUqHNsXYVB95XmIXR7IZSg4ygYV 8jCSkBYACAGeRYO74C3Ro4yTiouq/HpMMwtE8+PV2sZlXf2wITkHI0AkBn1FffyFB3FqUt qSrJ07ou/KBQVHVhdHHBZa9Xwk3Q/y91VrDaGDQcnUexr1kOEEZBc8WZQlapKfbglnLdQG Ev6oFmd+A0uFmf8SuH9qqsw7UGEj4cRdjTyA9fwWEXgBwnbp1tQk+641UnPAAOn+CPRNRg gv6E7RY1M8ouznhaa3YRUQVCxDmz/QHufzISkmsq+Pw05hCd9oLYwvXXHhEq6A== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670627598; a=rsa-sha256; cv=none; b=Nzbl+MylkygcGsFeJyT5vEH640sm3pu/1oA5zDk7fRjaPl1PsfoNDUK7X+XcTI2UP0xAU4 tEAVYBplJ4b6NV654ptAv6p9gewyLGjk5EhZ1NWLy/6oxs9F8AgRztBxxn3HChEpK0XUCq jpyRuh+1jNUrlQOJKCXUPfNukiKUoXHGp3sAuGA23TeNbpxY9toJa6jLhHgF0PLVa3YUDP JE2KB8+sioCwq0gm0JEQQ4zXUYYzh38LG4X+ZOSEK1+ZwRyqsYR/f7sB6atDYw+n5sbUNa k2Kc7P1K5pfv0AGaAQ82Cf49A2a1N6mOPXZMTJWAPQibJGXtG8Wod/mQBL8AUw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=D1+jTI18; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -5.04 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=posteo.de header.s=2017 header.b=D1+jTI18; dmarc=pass (policy=none) header.from=posteo.de; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 6066E3940E X-Spam-Score: -5.04 X-Migadu-Scanner: scn1.migadu.com X-TUID: oJTFjID7YHA/ 2022-12-05 17:23 ivan@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 [swap-offset][2] from the > uswsusp suite, which is missing from Guix and no longer shipped with > Debian. What about the "filefrag" executable from the "e2fsprogs" package. According to this article, it can be used in place of the deprecated uswsusp suite: https://www.linuxuprising.com/2021/08/how-to-enable-hibernation-on-ubuntu.html