guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are 'guix gc' stats exaggerated?


From: Ludovic Courtès
Subject: Re: Are 'guix gc' stats exaggerated?
Date: Mon, 17 Jun 2024 13:24:44 +0200
User-agent: Gnus/5.13 (Gnus v5.13)

Andreas Enge <andreas@enge.fr> skribis:

> In my experience on ext4 (also not backed by looking at the code), "guix gc"
> always deletes substantially less than what I ask for. I always thought it
> just counted hard linked files even when the link count does not go to 0
> and the file is not actually deleted.

Yes, that’s also my experience.  I did look at the code several times, I
even thought 7033c7692ccbbbad8f7b9952015de071a5588e87 in 2020 would fix
that estimate, but it didn’t.  I guess I’m bad at maths and logic, we
should give another look at that part of the code!

(Note that creation of sparse files will be another source of
discrepancy, though there will be few of them.)

Ludo’.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]