unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: guix-devel@gnu.org, Pierre Neidhardt <mail@ambrevar.xyz>
Subject: Re: Change free space warning threshold from relative to absolute
Date: Thu, 20 Feb 2020 07:36:41 -0500	[thread overview]
Message-ID: <2AED70CE-6DB2-46B7-AEFD-7CC6F7D1EBAD@lepiller.eu> (raw)
In-Reply-To: <87zhddtxmy.fsf@ambrevar.xyz>

Le 20 février 2020 04:29:25 GMT-05:00, Pierre Neidhardt <mail@ambrevar.xyz> 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?

  reply	other threads:[~2020-02-20 12:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-02-20  9:29 Change free space warning threshold from relative to absolute Pierre Neidhardt
2020-02-20 12:36 ` Julien Lepiller [this message]
2020-02-20 12:45   ` Pierre Neidhardt
2020-02-22 10:50     ` Pierre Neidhardt

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=2AED70CE-6DB2-46B7-AEFD-7CC6F7D1EBAD@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=guix-devel@gnu.org \
    --cc=mail@ambrevar.xyz \
    /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).