From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([209.51.188.92]:36009) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDw0R-00015w-Bq for guix-patches@gnu.org; Tue, 09 Apr 2019 15:02:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hDw0Q-0002hz-FO for guix-patches@gnu.org; Tue, 09 Apr 2019 15:02:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:38440) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1hDw0Q-0002hq-BM for guix-patches@gnu.org; Tue, 09 Apr 2019 15:02:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1hDw0Q-0001mA-2P for guix-patches@gnu.org; Tue, 09 Apr 2019 15:02:02 -0400 Subject: [bug#35176] [PATCH 0/5] 'guix gc --delete-generations' and '--list-roots' Resent-Message-ID: Date: Tue, 9 Apr 2019 21:01:09 +0200 From: =?UTF-8?Q?Bj=C3=B6rn_?= =?UTF-8?Q?H=C3=B6fling?= Message-ID: <20190409210109.42ba3cee@alma-ubu> In-Reply-To: <20190406212656.27025-1-ludo@gnu.org> References: <20190406212656.27025-1-ludo@gnu.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; boundary="Sig_/TLQx/WNnZXf6qXuc81L5SFA"; protocol="application/pgp-signature" List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 35176@debbugs.gnu.org --Sig_/TLQx/WNnZXf6qXuc81L5SFA Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Sat, 6 Apr 2019 23:26:56 +0200 Ludovic Court=C3=A8s wrote: > Hello Guix! >=20 > This patch series is mostly about making it easier to free space: > =E2=80=98guix gc --delete-generations=E2=80=99 deletes old generations of= all the > user=E2=80=99s profiles prior to collecting garbage. >=20 > For consistency, =E2=80=98--delete-generations=E2=80=99 is aliased with = =E2=80=98-d=E2=80=99, so > =E2=80=98-d=E2=80=99 is repurposed (until now it was an alias for =E2=80= =98--delete=E2=80=99). I'm using regularly `guix gc -d /gnu/store/...` and I'm a bit concerned about re/abusing this existing parameter. First I like the simple '-d' to delete a store path. Second, how big is the chance I could accidentally delete (all) older generations of my profiles? I really like to keep them for a long time, until my disk is near-full, and it looks like gc-roots are no longer a safe way to keep them? Bj=C3=B6rn --Sig_/TLQx/WNnZXf6qXuc81L5SFA Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iF0EARECAB0WIQQiGUP0np8nb5SZM4K/KGy2WT5f/QUCXKzr9QAKCRC/KGy2WT5f /RmzAJ9PbZtoOUOjT/jRow4wYA7ytffP9ACfb/CrzkoR5IdUlAIvrdBO0FwtqfQ= =JYgD -----END PGP SIGNATURE----- --Sig_/TLQx/WNnZXf6qXuc81L5SFA--