GNU bug report logs - #26566
Swap partition on GuixSD

Previous Next

Package: guix;

Reported by: Quiliro <quiliro <at> riseup.net>

Date: Wed, 19 Apr 2017 16:47:04 UTC

Severity: normal

Tags: notabug

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

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 26566 in the body.
You can then email your comments to 26566 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-guix <at> gnu.org:
bug#26566; Package guix. (Wed, 19 Apr 2017 16:47:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Quiliro <quiliro <at> riseup.net>:
New bug report received and forwarded. Copy sent to bug-guix <at> gnu.org. (Wed, 19 Apr 2017 16:47:04 GMT) Full text and rfc822 format available.

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

From: Quiliro <quiliro <at> riseup.net>
To: bug-guix <at> gnu.org
Subject: Swap partition on GuixSD
Date: Mon, 17 Apr 2017 20:59:52 -0500
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






Information forwarded to bug-guix <at> gnu.org:
bug#26566; Package guix. (Wed, 19 Apr 2017 16:54:01 GMT) Full text and rfc822 format available.

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

From: ng0 <contact.ng0 <at> cryptolab.net>
To: Quiliro <quiliro <at> riseup.net>
Cc: 26566 <at> debbugs.gnu.org
Subject: Re: bug#26566: Swap partition on GuixSD
Date: Wed, 19 Apr 2017 16:53:35 +0000
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/




Information forwarded to bug-guix <at> gnu.org:
bug#26566; Package guix. (Wed, 19 Apr 2017 21:26:02 GMT) Full text and rfc822 format available.

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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Quiliro <quiliro <at> riseup.net>
Cc: 26566 <at> debbugs.gnu.org
Subject: Re: bug#26566: Swap partition on GuixSD
Date: Wed, 19 Apr 2017 23:25:40 +0200
Hi Quiliro,

ng0 <contact.ng0 <at> 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 <at> gnu.org, the support
    mailing list.  Emailing bug-guix <at> gnu.org opens a new issue.




Information forwarded to bug-guix <at> gnu.org:
bug#26566; Package guix. (Thu, 20 Apr 2017 03:26:01 GMT) Full text and rfc822 format available.

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

From: Quiliro <quiliro <at> riseup.net>
To: 26566 <at> debbugs.gnu.org
Subject: Re: bug#26566: Swap partition on GuixSD
Date: Wed, 19 Apr 2017 22:25:00 -0500
El Wed, 19 Apr 2017 23:25:40 +0200
ludo <at> gnu.org (Ludovic Courtès) escribió:

> Hi Quiliro,
> 
> ng0 <contact.ng0 <at> 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 <at> gnu.org, the support
>     mailing list.  Emailing bug-guix <at> gnu.org opens a new issue.

I did send my message to help-guix <at> 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






Added tag(s) notabug. Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Thu, 20 Apr 2017 08:22:02 GMT) Full text and rfc822 format available.

bug closed, send any further explanations to 26566 <at> debbugs.gnu.org and Quiliro <quiliro <at> riseup.net> Request was from ludo <at> gnu.org (Ludovic Courtès) to control <at> debbugs.gnu.org. (Thu, 20 Apr 2017 08:22:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Thu, 18 May 2017 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 8 years and 33 days ago.

Previous Next


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