From mboxrd@z Thu Jan 1 00:00:00 1970 From: Maxim Cournoyer Subject: Re: How to remove useless generations to save disk spack Date: Tue, 25 Apr 2017 16:50:54 -0700 Message-ID: <6E98CDF8-67ED-4A51-8970-1A8F312D2E62@gmail.com> References: <1cad6613.404.15ba75f4bce.Coremail.tumashu@163.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:55789) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d3AEZ-0008KW-P9 for guix-devel@gnu.org; Tue, 25 Apr 2017 19:51:05 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d3AEU-0004P4-Ld for guix-devel@gnu.org; Tue, 25 Apr 2017 19:51:03 -0400 Received: from mail-pf0-x22f.google.com ([2607:f8b0:400e:c00::22f]:35081) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d3AEU-0004OC-57 for guix-devel@gnu.org; Tue, 25 Apr 2017 19:50:58 -0400 Received: by mail-pf0-x22f.google.com with SMTP id v14so29604137pfd.2 for ; Tue, 25 Apr 2017 16:50:57 -0700 (PDT) In-Reply-To: <1cad6613.404.15ba75f4bce.Coremail.tumashu@163.com> 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.org@gnu.org Sender: "Guix-devel" To: tumashu , guix Hi tumashu, Please refer to the manual (https://www=2Egnu=2Eorg/software/guix/manual/h= tml_node/Invoking-guix-package=2Ehtml), in particular to the --delete-gener= ations option of the package command=2E Maxim On April 25, 2017 4:08:12 PM PDT, tumashu wrote: >How to remove useless generations to save disk spack? >-------------------------------------------------------------------------= --------------------- >feng@tumashu:/tmp $ df -h >=E6=96=87=E4=BB=B6=E7=B3=BB=E7=BB=9F =E5=AE=B9=E9=87=8F =E5=B7=B2= =E7=94=A8 =E5=8F=AF=E7=94=A8 =E5=B7=B2=E7=94=A8% =E6=8C=82=E8=BD=BD=E7=82= =B9 >none 964M 0 964M 0% /dev >/dev/sda1 19G 14G 3=2E4G 81% / >/dev/sda7 138G 50G 81G 39% /home >/dev/sda8 116G 63G 47G 58% /mnt/backup1 >/dev/sda6 19G 44M 18G 1% /mnt/backup2 >tmpfs 967M 0 967M 0% /dev/shm >cgroup 967M 0 967M 0% /sys/fs/cgroup >none 967M 16K 967M 1% /run/systemd >none 967M 0 967M 0% /run/user >tmpfs 194M 4=2E0K 194M 1% /run/user/1000 >feng@tumashu:/tmp $ guix system list-generations >Generation 1 1=E6=9C=88 11 2017 06:21:35 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-1-link >canonical file name: /gnu/store/fbz7fhx8cv0fvzsas981a4897bwf31r8-system > label: GNU with Linux-Libre 4=2E8=2E15 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/2z3r93nkw9sph340p4n893pm0phj6g7d-li= nux-libre-4=2E8=2E15/bzImage >Generation 2 1=E6=9C=88 11 2017 18:37:50 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-2-link >canonical file name: /gnu/store/avj6i4kf6xsdp9y4wdzrjpvcn8gm3lvx-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 3 1=E6=9C=88 11 2017 19:33:22 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-3-link >canonical file name: /gnu/store/f8ih2qfkmwh0aggaw0qkd210vil4d3lw-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 4 1=E6=9C=88 12 2017 03:07:39 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-4-link >canonical file name: /gnu/store/vw1d7m60yr9fdaf22ys356l6j51dq9jm-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 5 1=E6=9C=88 12 2017 03:20:29 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-5-link >canonical file name: /gnu/store/d5h2d622d59n4kzcc2zxvqs29f016vd2-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 6 1=E6=9C=88 12 2017 03:28:50 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-6-link >canonical file name: /gnu/store/5s0vs4gz2xqmh17ids9d385bmj78limn-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 7 1=E6=9C=88 12 2017 13:08:02 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-7-link >canonical file name: /gnu/store/mfjrgaspk4swk1700c7cskkd6m21zi32-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 8 1=E6=9C=88 12 2017 13:22:13 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-8-link >canonical file name: /gnu/store/yjr14gpnhm13i8bw2xdizfjqrnp0pp4w-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 9 1=E6=9C=88 12 2017 13:22:13 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-9-link >canonical file name: /gnu/store/yjr14gpnhm13i8bw2xdizfjqrnp0pp4w-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 10 1=E6=9C=88 12 2017 13:22:13 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-10-link >canonical file name: /gnu/store/yjr14gpnhm13i8bw2xdizfjqrnp0pp4w-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 11 1=E6=9C=88 12 2017 13:22:13 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-11-link >canonical file name: /gnu/store/yjr14gpnhm13i8bw2xdizfjqrnp0pp4w-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 12 1=E6=9C=88 12 2017 18:07:02 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-12-link >canonical file name: /gnu/store/g7z3cy8vjg200gm8k4sjai2qnf4l81am-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-li= nux-libre-4=2E9=2E2/bzImage >Generation 13 1=E6=9C=88 14 2017 20:44:24 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-13-link >canonical file name: /gnu/store/6kai1ip1fl26xff9dicrq230xghxf5qy-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 14 1=E6=9C=88 14 2017 22:08:32 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-14-link >canonical file name: /gnu/store/is7f9nv4jipzhpxg5pp792szq3ss67r1-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 15 1=E6=9C=88 14 2017 22:08:32 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-15-link >canonical file name: /gnu/store/is7f9nv4jipzhpxg5pp792szq3ss67r1-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 16 1=E6=9C=88 15 2017 17:29:07 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-16-link >canonical file name: /gnu/store/73fimkn11lb3lwkb7zwgz809m6jg9rim-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 17 2=E6=9C=88 03 2017 21:56:01 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-17-link >canonical file name: /gnu/store/s9n5db30ap2aylmbrfggcblwksi2nzlv-system > label: GNU with Linux-Libre 4=2E9=2E7 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/mchzhcczv7mqzvz26802krair5ny0mh1-li= nux-libre-4=2E9=2E7/bzImage >Generation 18 2=E6=9C=88 18 2017 09:15:43 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-18-link >canonical file name: /gnu/store/sd5fs1fcq2mbslm0219dpflrmkvni0ry-system > label: GNU with Linux-Libre 4=2E9=2E10 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/hp5zmrazpvw75hki96ksdzbimgyqarlz-li= nux-libre-4=2E9=2E10/bzImage >Generation 19 2=E6=9C=88 18 2017 09:15:43 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-19-link >canonical file name: /gnu/store/sd5fs1fcq2mbslm0219dpflrmkvni0ry-system > label: GNU with Linux-Libre 4=2E9=2E10 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/hp5zmrazpvw75hki96ksdzbimgyqarlz-li= nux-libre-4=2E9=2E10/bzImage >Generation 20 2=E6=9C=88 18 2017 09:15:43 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-20-link >canonical file name: /gnu/store/sd5fs1fcq2mbslm0219dpflrmkvni0ry-system > label: GNU with Linux-Libre 4=2E9=2E10 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/hp5zmrazpvw75hki96ksdzbimgyqarlz-li= nux-libre-4=2E9=2E10/bzImage >Generation 21 4=E6=9C=88 07 2017 07:11:09 (=E5=BD=93=E5=89=8D) > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-21-link >canonical file name: /gnu/store/dh5l5d0az9cf7dilaq5svmvjwd15w9rc-system > label: GNU with Linux-Libre 4=2E10=2E8 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/dvqspvpl3059rbig0r8ks8km1ys923j4-li= nux-libre-4=2E10=2E8/bzImage >Generation 22 1=E6=9C=88 13 2017 18:57:44 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-22-link >canonical file name: /gnu/store/jab3bna99chpxkdjj2hwrsh0c6crdvcw-system > label: GNU with Linux-Libre 4=2E9=2E2 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/wp328g19jzn8d0j0im8ly7n12isrd6f4-li= nux-libre-4=2E9=2E2/bzImage >Generation 23 1=E6=9C=88 14 2017 20:44:24 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-23-link >canonical file name: /gnu/store/6kai1ip1fl26xff9dicrq230xghxf5qy-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 24 1=E6=9C=88 14 2017 02:14:51 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-24-link >canonical file name: /gnu/store/z8p351gk3m7byviaa2wny8vda98nc54i-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 25 1=E6=9C=88 14 2017 03:00:48 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-25-link >canonical file name: /gnu/store/gd4yhh22a8yjnabkx3madx5q4pcv4jpm-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 26 1=E6=9C=88 14 2017 03:13:58 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-26-link >canonical file name: /gnu/store/binbj3nirxqdgxy0mkzwffh73rwn2m5v-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 27 1=E6=9C=88 14 2017 03:31:22 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-27-link >canonical file name: /gnu/store/gb45kfs8z8qbfm9v82ny2ppnlhzjkxl4-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: /dev/sda1 >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 28 1=E6=9C=88 14 2017 02:14:51 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-28-link >canonical file name: /gnu/store/z8p351gk3m7byviaa2wny8vda98nc54i-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 29 1=E6=9C=88 14 2017 02:14:51 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-29-link >canonical file name: /gnu/store/z8p351gk3m7byviaa2wny8vda98nc54i-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 30 1=E6=9C=88 14 2017 09:05:51 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-30-link >canonical file name: /gnu/store/xf4rly5ncklc6dmxf6shj0q9zg2y8fr4-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 31 1=E6=9C=88 14 2017 09:24:49 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-31-link >canonical file name: /gnu/store/br28lnbrzx30fn7j0qz9zc38zl7xsplb-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >Generation 32 1=E6=9C=88 14 2017 20:44:24 > =E6=96=87=E4=BB=B6=E5=90=8D=EF=BC=9A/var/guix/profiles/system-32-link >canonical file name: /gnu/store/6kai1ip1fl26xff9dicrq230xghxf5qy-system > label: GNU with Linux-Libre 4=2E9=2E3 (beta) > root device: my-root >=E5=86=85=E6=A0=B8=EF=BC=9A/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-li= nux-libre-4=2E9=2E3/bzImage >feng@tumashu:/tmp $ > >-------------------------------------------------------------------------= -------------------------------------- --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E