GNU bug report logs - #23979
[ER] guix gc should tell how much space it recovered

Previous Next

Package: guix;

Reported by: Vincent Legoll <vincent.legoll <at> gmail.com>

Date: Thu, 14 Jul 2016 10:55:02 UTC

Severity: normal

Done: Vincent Legoll <vincent.legoll <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: ludo <at> gnu.org (Ludovic Courtès)
To: Andreas Enge <andreas <at> enge.fr>
Cc: Vincent Legoll <vincent.legoll <at> gmail.com>, 23979 <at> debbugs.gnu.org
Subject: Re: bug#23979: [ER] guix gc should tell how much space it recovered
Date: Fri, 15 Jul 2016 19:06:27 +0200
Andreas Enge <andreas <at> 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’.




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

Previous Next


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