unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
* Declare swap partition in config
@ 2019-09-13 15:47 w96k
  2019-09-13 16:15 ` Julien Lepiller
  0 siblings, 1 reply; 5+ messages in thread
From: w96k @ 2019-09-13 15:47 UTC (permalink / raw)
  To: help-guix

Is there any way to declare swap in config.scm without using swapon 
directly?

^ permalink raw reply	[flat|nested] 5+ messages in thread
* Re: Declare swap partition in config
@ 2022-02-26 23:38 Antwane Mason
  2022-02-26 23:52 ` Tobias Geerinckx-Rice
  0 siblings, 1 reply; 5+ messages in thread
From: Antwane Mason @ 2022-02-26 23:38 UTC (permalink / raw)
  To: help-guix

For some reason, my guix system is not detecting my swap partition despite
it being configured in my config. However, performing swapon directly does
activity the partition. Is there an issue in my configuration? I am using
the newer "swap-space" data structure for swap due to generating it from
the installer a week ago.

Here is my swap device name and uuid from blkid:

/dev/nvme0n1p4: UUID="b7c057f7-c090-4a09-a94b-f92e66bdaebc"
TYPE="swsuspend" PARTUUID="65db7a7a-62bf-42de-b1c4-094e9fac6090"

Here is my swap-devices value for my config:

(swap-devices
    (list (swap-space
            (target
              (uuid "b7c057f7-c090-4a09-a94b-f92e66bdaebc")))))

Regards,
Antwane

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2022-02-28  0:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-09-13 15:47 Declare swap partition in config w96k
2019-09-13 16:15 ` Julien Lepiller
  -- strict thread matches above, loose matches on Subject: below --
2022-02-26 23:38 Antwane Mason
2022-02-26 23:52 ` Tobias Geerinckx-Rice
2022-02-27 23:51   ` Antwane Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).