guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#51346] [PATCH 0/1 core-updates-frozen] Rework swap device to add de


From: Ludovic Courtès
Subject: [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
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux)

Josselin Poiret <dev@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’.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]