unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Tonton <tonton@riseup.net>
To: Divan Santana <divan@santanas.co.za>
Cc: help-guix@gnu.org
Subject: Re: Some general guix questions
Date: Tue, 8 Jan 2019 21:00:28 +0100	[thread overview]
Message-ID: <20190108210028.711ad7f6@merlin.browniehive.net> (raw)
In-Reply-To: <87o98ryuat.fsf@santanas.co.za>

On Tue, 08 Jan 2019 18:43:06 +0200
Divan Santana <divan@santanas.co.za> wrote:

> 3. If I run guix system vm --fallback system.scm I get a vm I can run,
>    which is really awesome. If I then do a guix pull and guix system
>    vm --fallback system.scm I get /another/ VM which I can run. How is
>    the previous VMs garbage collected, I wonder?

A note on garbage collection in guix: most everything lives in the store.
vm's, packages, your operating system, previous generations of operating
systems.

All entries can have what's called GC roots. As far as I understand a root is
a symbolic link somewhere else on the filesystem. So if you create a vm it
will remain in your store until guix gc is run WHILE the vm has no roots.

So to clear space you would have to delete the roots for previous generations
of your system or packages. guix package has a command for this, guix system
does not have this yet (I think). A roundabout way to delete system
generations is to delete the symlink/root in '/var/guix/profiles/' and then
run guix gc. Be careful what you delete.
-- 
    :)

  parent reply	other threads:[~2019-01-08 20:00 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-01-08 16:43 Some general guix questions Divan Santana
2019-01-08 17:13 ` Pierre Neidhardt
2019-01-08 20:36   ` Ricardo Wurmus
2019-01-08 21:24     ` Pierre Neidhardt
2019-01-08 21:40       ` Ricardo Wurmus
2019-01-09 18:09     ` George Clemmer
2019-01-22 10:28       ` Pierre Neidhardt
2019-01-09  7:51   ` Divan Santana
2019-01-08 19:26 ` George Clemmer
2019-01-09  7:50   ` Divan Santana
2019-01-08 20:00 ` Tonton [this message]
2019-01-09  7:48   ` Divan Santana

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190108210028.711ad7f6@merlin.browniehive.net \
    --to=tonton@riseup.net \
    --cc=divan@santanas.co.za \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).