From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pierre Neidhardt Subject: Change free space warning threshold from relative to absolute Date: Thu, 20 Feb 2020 10:29:25 +0100 Message-ID: <87zhddtxmy.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52879) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4i9C-0002Qr-Mc for guix-devel@gnu.org; Thu, 20 Feb 2020 04:29:31 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4i9B-00039d-6D for guix-devel@gnu.org; Thu, 20 Feb 2020 04:29:30 -0500 Received: from relay6-d.mail.gandi.net ([217.70.183.198]:56943) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4i9B-00036p-0Q for guix-devel@gnu.org; Thu, 20 Feb 2020 04:29:29 -0500 Received: from mimimi (lfbn-idf2-1-1315-147.w92-169.abo.wanadoo.fr [92.169.129.147]) (Authenticated sender: mail@ambrevar.xyz) by relay6-d.mail.gandi.net (Postfix) with ESMTPSA id 61A60C0009 for ; Thu, 20 Feb 2020 09:29:26 +0000 (UTC) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane-mx.org@gnu.org Sender: "Guix-devel" To: guix-devel@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi! Currently we display =2D-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, alo= ng these lines: guix gc --delete-generations=3D1m =2D-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=C2=A0TiB partition, 5% is 50=C2=A0GiB. I would not worry to much about deleting generations then! What about changing the threshold to 5=C2=A0GiB? By the way, this reminds me of the same Windows XP misfeature that bugged millions of users for years=C2=A0:D =2D-=20 Pierre Neidhardt https://ambrevar.xyz/ --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEUPM+LlsMPZAEJKvom9z0l6S7zH8FAl5OUXUACgkQm9z0l6S7 zH+HiwgAmLBs5iUs5mZFUHwpVMNkgbWB5scFANPS/POqDfEhgG4YG8TB+fitI7XG SeXcE+5c1p37ZD+yptMZcMp2pOAGBxBpLjM8cEfwQzzPFc8Sge7mBY87K9ksK484 5qYxO3FVaL/icRaFdqwrpQt/NIJSn7a0+GlegRWxqLzkt27gjlUS9+qC1HapXZtf MWNgFkI4UeOtguYlcsOGB9I8S1wnjAbNW3jO5n1hIsKRFfJwlpWweBkjBmx5OMnH 8eqmfDDrPTxmg3HU31q/GzhkPNA+bAd/w+TsbBVj5ZlS2hPBXEsaj2wInBsyw7Ee HMuuwYM4oZrKEYJBFw8ra4J8BhVliA== =WTbr -----END PGP SIGNATURE----- --=-=-=--