On 2022-02-27 0:38, Antwane Mason wrote:
TYPE="swsuspend"

You can only swapon(2) swap partitions.  Run

  $ sudo mkswap /dev/nvme0n1p4

and reboot, and it should work just fine.

swapon(8) does a lot more than merely call swapon(2), including overwriting any SWSUSPEND signature[0].

Guix does not do this.

It could, either at the expense of code manually kept in sync with util-linux, or by embedding a copy swapon(8) in the initrd, enlarging it.

Kind regards,

T G-R

Sent from a Web browser.  Excuse or enjoy my brevity.

[0]: https://git.kernel.org/pub/scm/utils/util-linux/util-linux.git/tree/sys-utils/swapon.c#n371

Reply via email to