[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Change free space warning threshold from relative to absolute
From: |
Julien Lepiller |
Subject: |
Re: Change free space warning threshold from relative to absolute |
Date: |
Thu, 20 Feb 2020 07:36:41 -0500 |
User-agent: |
K-9 Mail for Android |
Le 20 février 2020 04:29:25 GMT-05:00, Pierre Neidhardt <address@hidden> a
écrit :
>Hi!
>
>Currently we display
>
>--8<---------------cut here---------------start------------->8---
>guix package: warning: only 4.9% of free space available on /gnu/store
>hint: Consider deleting old profile generations and collecting garbage,
>along
>these lines:
>
> guix gc --delete-generations=1m
>--8<---------------cut here---------------end--------------->8---
>
>when the drive has less than 5% free space.
>
>I believe the 5% threshold to be not so relevant. Indeed, on a 1 TiB
>partition, 5% is 50 GiB. I would not worry to much about deleting
>generations then!
>
>What about changing the threshold to 5 GiB?
>
>By the way, this reminds me of the same Windows XP misfeature that
>bugged
>millions of users for years :D
Well, I'd always receive the warning on one of my systems with only 20 GB of
disk. Maybe make it 5GB or 5%, whichever is lower?