* bug#26566: Swap partition on GuixSD
@ 2017-04-18 1:59 Quiliro
2017-04-19 16:53 ` ng0
0 siblings, 1 reply; 4+ messages in thread
From: Quiliro @ 2017-04-18 1:59 UTC (permalink / raw)
To: 26566
The sample file for a desktop configuration on
https://www.gnu.org/software/guix/manual/guix.html#System-Services
does not give an example of swap-devices.
Is adding this line correct on the operating-system section in the
config.scm file if my swap partition is sda2?:
(swap-devices ("/dev/sda2"))
Should then I run?:
guix system reconfigure /etc/config.scm
--
Saluton,
Quiliro
0987631031
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#26566: Swap partition on GuixSD
2017-04-18 1:59 bug#26566: Swap partition on GuixSD Quiliro
@ 2017-04-19 16:53 ` ng0
2017-04-19 21:25 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: ng0 @ 2017-04-19 16:53 UTC (permalink / raw)
To: Quiliro; +Cc: 26566
Hi,
Quiliro transcribed 0.4K bytes:
> The sample file for a desktop configuration on
> https://www.gnu.org/software/guix/manual/guix.html#System-Services
> does not give an example of swap-devices.
>
> Is adding this line correct on the operating-system section in the
> config.scm file if my swap partition is sda2?:
> (swap-devices ("/dev/sda2"))
That should be (swap-devices '("/dev/sda2"))
but in theory the guix reconfigure would complain about this mistake.
> Should then I run?:
> guix system reconfigure /etc/config.scm
Yes, if this is from within an already running system and not just at the start prior to "guix system init foo.scm"
> --
> Saluton,
> Quiliro
> 0987631031
>
>
>
>
>
--
PGP and more: https://people.pragmatique.xyz/ng0/
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#26566: Swap partition on GuixSD
2017-04-19 16:53 ` ng0
@ 2017-04-19 21:25 ` Ludovic Courtès
2017-04-20 3:25 ` Quiliro
0 siblings, 1 reply; 4+ messages in thread
From: Ludovic Courtès @ 2017-04-19 21:25 UTC (permalink / raw)
To: Quiliro; +Cc: 26566
Hi Quiliro,
ng0 <contact.ng0@cryptolab.net> skribis:
> Quiliro transcribed 0.4K bytes:
>> The sample file for a desktop configuration on
>> https://www.gnu.org/software/guix/manual/guix.html#System-Services
>> does not give an example of swap-devices.
>>
>> Is adding this line correct on the operating-system section in the
>> config.scm file if my swap partition is sda2?:
>> (swap-devices ("/dev/sda2"))
>
> That should be (swap-devices '("/dev/sda2"))
> but in theory the guix reconfigure would complain about this mistake.
Indeed. See
<https://gnu.org/s/guix/manual/html_node/operating_002dsystem-Reference.html>
(search for “swap”), or just “info -k swap” on your system.
HTH!
Ludo’.
PS: BTW, this is more a message for help-guix@gnu.org, the support
mailing list. Emailing bug-guix@gnu.org opens a new issue.
^ permalink raw reply [flat|nested] 4+ messages in thread
* bug#26566: Swap partition on GuixSD
2017-04-19 21:25 ` Ludovic Courtès
@ 2017-04-20 3:25 ` Quiliro
0 siblings, 0 replies; 4+ messages in thread
From: Quiliro @ 2017-04-20 3:25 UTC (permalink / raw)
To: 26566
El Wed, 19 Apr 2017 23:25:40 +0200
ludo@gnu.org (Ludovic Courtès) escribió:
> Hi Quiliro,
>
> ng0 <contact.ng0@cryptolab.net> skribis:
>
> > Quiliro transcribed 0.4K bytes:
> >> The sample file for a desktop configuration on
> >> https://www.gnu.org/software/guix/manual/guix.html#System-Services
> >> does not give an example of swap-devices.
> >>
> >> Is adding this line correct on the operating-system section in the
> >> config.scm file if my swap partition is sda2?:
> >> (swap-devices ("/dev/sda2"))
> >
> > That should be (swap-devices '("/dev/sda2"))
> > but in theory the guix reconfigure would complain about this
> > mistake.
Thank you ng0. :-)
> Indeed. See
> <https://gnu.org/s/guix/manual/html_node/operating_002dsystem-Reference.html>
> (search for “swap”), or just “info -k swap” on your system.
What I mean by no example is that there is a file with other examples
and not the swap example, which I think is essential to have in a
config.scm.
> PS: BTW, this is more a message for help-guix@gnu.org, the support
> mailing list. Emailing bug-guix@gnu.org opens a new issue.
I did send my message to help-guix@gnu.org. I don't know how it ended
in this list.
--
Example of rude top posting:
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
A: No.
Q: Should I leave quotations after my reply?
Saluton,
Quiliro
0987631031
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-04-20 3:26 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-18 1:59 bug#26566: Swap partition on GuixSD Quiliro
2017-04-19 16:53 ` ng0
2017-04-19 21:25 ` Ludovic Courtès
2017-04-20 3:25 ` Quiliro
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.