GNU bug report logs - #51346
[PATCH 0/1 core-updates-frozen] Rework swap device to add dependencies and flags

Previous Next

Package: guix-patches;

Reported by: Josselin Poiret <dev <at> jpoiret.xyz>

Date: Sat, 23 Oct 2021 09:47:02 UTC

Severity: normal

Tags: patch

Done: Ludovic Courtès <ludo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #50 received at 51346 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Josselin Poiret <dev <at> jpoiret.xyz>
Cc: Tobias Geerinckx-Rice <me <at> tobias.gr>, 51346 <at> debbugs.gnu.org
Subject: Re: bug#51346: [PATCH 0/1 core-updates-frozen] Rework swap device
 to add dependencies and flags
Date: Mon, 15 Nov 2021 12:01:15 +0100
Josselin Poiret <dev <at> jpoiret.xyz> skribis:

> * doc/guix.texi (operating-system Reference): Update swap-devices.
> * doc/guix.texi (Swap Space): Add it.
> * gnu/system/examples/desktop.tmpl: Add swap-devices example.

[...]

> +Here are some examples:
> +
> +@table @code
> +@item (swap-space (target (uuid "4dab5feb-d176-45de-b287-9b0a6e4c01cb")))
> +Use the swap partition with the given UUID@.  You can learn the UUID of a
> +Linux swap partition by running @command{swaplabel @var{device}}, where
> +@var{device} is the @file{/dev} file name of that partition.
> +
> +@item (swap-space (target (file-system-label "swap")) (dependencies (list lvm-device)))

Could you get rid of the table here, and instead write examples in @lisp
blocks?

Otherwise LGTM.

Ludo’.




This bug report was last modified 3 years and 186 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.