From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andreas Enge Subject: bug#23979: [ER] guix gc should tell how much space it recovered Date: Fri, 15 Jul 2016 17:12:06 +0200 Message-ID: <20160715151206.GA8436@solar> References: <87eg6v0y45.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:59509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4nZ-0004uL-HF for bug-guix@gnu.org; Fri, 15 Jul 2016 11:13:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bO4nW-00015r-8S for bug-guix@gnu.org; Fri, 15 Jul 2016 11:13:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40813) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bO4nW-00015m-4m for bug-guix@gnu.org; Fri, 15 Jul 2016 11:13:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bO4nW-0006b3-17 for bug-guix@gnu.org; Fri, 15 Jul 2016 11:13:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87eg6v0y45.fsf@gnu.org> List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: "bug-Guix" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 23979@debbugs.gnu.org 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? Andreas