From mboxrd@z Thu Jan 1 00:00:00 1970 From: Julien Lepiller Subject: Re: Change free space warning threshold from relative to absolute Date: Thu, 20 Feb 2020 07:36:41 -0500 Message-ID: <2AED70CE-6DB2-46B7-AEFD-7CC6F7D1EBAD@lepiller.eu> References: <87zhddtxmy.fsf@ambrevar.xyz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:51126) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j4l4f-00087K-V2 for guix-devel@gnu.org; Thu, 20 Feb 2020 07:37:03 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j4l4e-00038k-Qc for guix-devel@gnu.org; Thu, 20 Feb 2020 07:37:01 -0500 Received: from lepiller.eu ([2a00:5884:8208::1]:36680) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1j4l4e-00037R-7J for guix-devel@gnu.org; Thu, 20 Feb 2020 07:37:00 -0500 In-Reply-To: <87zhddtxmy.fsf@ambrevar.xyz> 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, Pierre Neidhardt Le 20 f=C3=A9vrier 2020 04:29:25 GMT-05:00, Pierre Neidhardt a =C3=A9crit : >Hi! > >Currently we display > >--8<---------------cut here---------------start------------->8--- >guix package: warning: only 4=2E9% of free space available on /gnu/store >hint: Consider deleting old profile generations and collecting garbage, >along >these lines: > > guix gc --delete-generations=3D1m >--8<---------------cut here---------------end--------------->8--- > >when the drive has less than 5% free space=2E > >I believe the 5% threshold to be not so relevant=2E Indeed, on a 1=C2=A0= TiB >partition, 5% is 50=C2=A0GiB=2E 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 Well, I'd always receive the warning on one of my systems with only 20 GB = of disk=2E Maybe make it 5GB or 5%, whichever is lower?