From: ludo@gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas@enge.fr>
Cc: 23979@debbugs.gnu.org
Subject: bug#23979: [ER] guix gc should tell how much space it recovered
Date: Fri, 15 Jul 2016 19:06:27 +0200 [thread overview]
Message-ID: <87vb06ygoc.fsf@gnu.org> (raw)
In-Reply-To: <20160715151206.GA8436@solar> (Andreas Enge's message of "Fri, 15 Jul 2016 17:12:06 +0200")
Andreas Enge <andreas@enge.fr> skribis:
> On Fri, Jul 15, 2016 at 04:33:46PM +0200, Ludovic Courtès wrote:
>> This code calls the ‘collect-garbage’ procedure, defined in (guix
>> store). You’ll see that this procedure returns two values, which are
>> currently ignored: the name of the items that were removed from the
>> store, and the number of bytes freed.
>
> Brutto or netto? Otherwise said, does it take into account the hardlinks
> used for deduplication, or does it pretend that every deleted file saves
> as much memory as its size indicates?
The latter, I think. The actual computation is done by the daemon, in
libstore/gc.cc.
Ludo’.
next prev parent reply other threads:[~2016-07-15 17:07 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-07-14 10:54 bug#23979: [ER] guix gc should tell how much space it recovered Vincent Legoll
2016-07-14 11:30 ` Vincent Legoll
2016-07-15 14:33 ` Ludovic Courtès
2016-07-15 15:12 ` Andreas Enge
2016-07-15 17:06 ` Ludovic Courtès [this message]
2016-07-16 8:20 ` Vincent Legoll
2016-07-16 12:55 ` bug#23979: Fix merged Vincent Legoll
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=87vb06ygoc.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=23979@debbugs.gnu.org \
--cc=andreas@enge.fr \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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).