[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#51346] [PATCH 1/1] gnu: system: Add support for swap dependencies a
From: |
Tobias Geerinckx-Rice |
Subject: |
[bug#51346] [PATCH 1/1] gnu: system: Add support for swap dependencies and flags |
Date: |
Sun, 24 Oct 2021 15:58:56 +0200 |
Oh no,
he's back. With another annoying question: why don't we drop the
whole swap-partition/swap-file dichotomy? The distinction is
artificial insofar as Linux doesn't make one.
Which end is supposed to explode if you
(swap-partition (device "/home/nckx/swap"))
(swap-file (name "/dev/sda2"))
?
What real-world drawback(s) do you see to
(swap (space "/home/nckx/swap"))
(swap (space "/dev/sda2"))
(swap (space (uuid "ab-c-d-e-fgh")))
(swap (space (file-system-label "best-swaps")))
naming aside?
Josselin Poiret via Guix-patches via 写道:
+(define (swap-partition->service-name spartition)
Nitpick: ->shepherd-service-name just for similarity to
<file-system>s.
Aside, when I try to apply your third manual example, I get:
guix system: error: service 'swap-/dev/sda2' requires
'file-system-/', which is not provided by any service
Kind regards,
T G-R
signature.asc
Description: PGP signature
- [bug#51346] [PATCH 0/1 core-updates-frozen] Rework swap device to add dependencies and flags, Josselin Poiret, 2021/10/23
- [bug#51346] [PATCH 1/1] gnu: system: Add support for swap dependencies and flags, Josselin Poiret, 2021/10/23
- [bug#51346] [PATCH 1/1] gnu: system: Add support for swap dependencies and flags,
Tobias Geerinckx-Rice <=
- [bug#51346] [PATCH v2 0/4] Rework swap, add flags and dependencies., Josselin Poiret, 2021/10/27
- [bug#51346] [PATCH v2 1/4] gnu: system: Rework swap space support, add dependencies., Josselin Poiret, 2021/10/27
- [bug#51346] [PATCH v2 2/4] gnu: system: Add swap flags., Josselin Poiret, 2021/10/27
- [bug#51346] [PATCH v2 3/4] gnu: system: Filter out boot dependencies from swap-space., Josselin Poiret, 2021/10/27
- [bug#51346] [PATCH v2 4/4] doc: Add new Swap Space section., Josselin Poiret, 2021/10/27
- [bug#51346] [PATCH 0/1 core-updates-frozen] Rework swap device to add dependencies and flags, Tobias Geerinckx-Rice, 2021/10/23