[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: How to remove useless generations to save disk spack
From: |
Maxim Cournoyer |
Subject: |
Re: How to remove useless generations to save disk spack |
Date: |
Tue, 25 Apr 2017 16:50:54 -0700 |
User-agent: |
K-9 Mail for Android |
Hi tumashu,
Please refer to the manual
(https://www.gnu.org/software/guix/manual/html_node/Invoking-guix-package.html),
in particular to the --delete-generations option of the package command.
Maxim
On April 25, 2017 4:08:12 PM PDT, tumashu <address@hidden> wrote:
>How to remove useless generations to save disk spack?
>----------------------------------------------------------------------------------------------
>address@hidden:/tmp $ df -h
>文件系统 容量 已用 可用 已用% 挂载点
>none 964M 0 964M 0% /dev
>/dev/sda1 19G 14G 3.4G 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.0K 194M 1% /run/user/1000
>address@hidden:/tmp $ guix system list-generations
>Generation 1 1月 11 2017 06:21:35
> 文件名:/var/guix/profiles/system-1-link
>canonical file name: /gnu/store/fbz7fhx8cv0fvzsas981a4897bwf31r8-system
> label: GNU with Linux-Libre 4.8.15 (beta)
> root device: my-root
>内核:/gnu/store/2z3r93nkw9sph340p4n893pm0phj6g7d-linux-libre-4.8.15/bzImage
>Generation 2 1月 11 2017 18:37:50
> 文件名:/var/guix/profiles/system-2-link
>canonical file name: /gnu/store/avj6i4kf6xsdp9y4wdzrjpvcn8gm3lvx-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 3 1月 11 2017 19:33:22
> 文件名:/var/guix/profiles/system-3-link
>canonical file name: /gnu/store/f8ih2qfkmwh0aggaw0qkd210vil4d3lw-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 4 1月 12 2017 03:07:39
> 文件名:/var/guix/profiles/system-4-link
>canonical file name: /gnu/store/vw1d7m60yr9fdaf22ys356l6j51dq9jm-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 5 1月 12 2017 03:20:29
> 文件名:/var/guix/profiles/system-5-link
>canonical file name: /gnu/store/d5h2d622d59n4kzcc2zxvqs29f016vd2-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 6 1月 12 2017 03:28:50
> 文件名:/var/guix/profiles/system-6-link
>canonical file name: /gnu/store/5s0vs4gz2xqmh17ids9d385bmj78limn-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 7 1月 12 2017 13:08:02
> 文件名:/var/guix/profiles/system-7-link
>canonical file name: /gnu/store/mfjrgaspk4swk1700c7cskkd6m21zi32-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 8 1月 12 2017 13:22:13
> 文件名:/var/guix/profiles/system-8-link
>canonical file name: /gnu/store/yjr14gpnhm13i8bw2xdizfjqrnp0pp4w-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 9 1月 12 2017 13:22:13
> 文件名:/var/guix/profiles/system-9-link
>canonical file name: /gnu/store/yjr14gpnhm13i8bw2xdizfjqrnp0pp4w-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 10 1月 12 2017 13:22:13
> 文件名:/var/guix/profiles/system-10-link
>canonical file name: /gnu/store/yjr14gpnhm13i8bw2xdizfjqrnp0pp4w-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 11 1月 12 2017 13:22:13
> 文件名:/var/guix/profiles/system-11-link
>canonical file name: /gnu/store/yjr14gpnhm13i8bw2xdizfjqrnp0pp4w-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 12 1月 12 2017 18:07:02
> 文件名:/var/guix/profiles/system-12-link
>canonical file name: /gnu/store/g7z3cy8vjg200gm8k4sjai2qnf4l81am-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p1lb5ybm6ckmjlhsm1l4nyybd7v8cp91-linux-libre-4.9.2/bzImage
>Generation 13 1月 14 2017 20:44:24
> 文件名:/var/guix/profiles/system-13-link
>canonical file name: /gnu/store/6kai1ip1fl26xff9dicrq230xghxf5qy-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: my-root
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 14 1月 14 2017 22:08:32
> 文件名:/var/guix/profiles/system-14-link
>canonical file name: /gnu/store/is7f9nv4jipzhpxg5pp792szq3ss67r1-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 15 1月 14 2017 22:08:32
> 文件名:/var/guix/profiles/system-15-link
>canonical file name: /gnu/store/is7f9nv4jipzhpxg5pp792szq3ss67r1-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 16 1月 15 2017 17:29:07
> 文件名:/var/guix/profiles/system-16-link
>canonical file name: /gnu/store/73fimkn11lb3lwkb7zwgz809m6jg9rim-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 17 2月 03 2017 21:56:01
> 文件名:/var/guix/profiles/system-17-link
>canonical file name: /gnu/store/s9n5db30ap2aylmbrfggcblwksi2nzlv-system
> label: GNU with Linux-Libre 4.9.7 (beta)
> root device: /dev/sda1
>内核:/gnu/store/mchzhcczv7mqzvz26802krair5ny0mh1-linux-libre-4.9.7/bzImage
>Generation 18 2月 18 2017 09:15:43
> 文件名:/var/guix/profiles/system-18-link
>canonical file name: /gnu/store/sd5fs1fcq2mbslm0219dpflrmkvni0ry-system
> label: GNU with Linux-Libre 4.9.10 (beta)
> root device: /dev/sda1
>内核:/gnu/store/hp5zmrazpvw75hki96ksdzbimgyqarlz-linux-libre-4.9.10/bzImage
>Generation 19 2月 18 2017 09:15:43
> 文件名:/var/guix/profiles/system-19-link
>canonical file name: /gnu/store/sd5fs1fcq2mbslm0219dpflrmkvni0ry-system
> label: GNU with Linux-Libre 4.9.10 (beta)
> root device: /dev/sda1
>内核:/gnu/store/hp5zmrazpvw75hki96ksdzbimgyqarlz-linux-libre-4.9.10/bzImage
>Generation 20 2月 18 2017 09:15:43
> 文件名:/var/guix/profiles/system-20-link
>canonical file name: /gnu/store/sd5fs1fcq2mbslm0219dpflrmkvni0ry-system
> label: GNU with Linux-Libre 4.9.10 (beta)
> root device: /dev/sda1
>内核:/gnu/store/hp5zmrazpvw75hki96ksdzbimgyqarlz-linux-libre-4.9.10/bzImage
>Generation 21 4月 07 2017 07:11:09 (当前)
> 文件名:/var/guix/profiles/system-21-link
>canonical file name: /gnu/store/dh5l5d0az9cf7dilaq5svmvjwd15w9rc-system
> label: GNU with Linux-Libre 4.10.8 (beta)
> root device: /dev/sda1
>内核:/gnu/store/dvqspvpl3059rbig0r8ks8km1ys923j4-linux-libre-4.10.8/bzImage
>Generation 22 1月 13 2017 18:57:44
> 文件名:/var/guix/profiles/system-22-link
>canonical file name: /gnu/store/jab3bna99chpxkdjj2hwrsh0c6crdvcw-system
> label: GNU with Linux-Libre 4.9.2 (beta)
> root device: my-root
>内核:/gnu/store/wp328g19jzn8d0j0im8ly7n12isrd6f4-linux-libre-4.9.2/bzImage
>Generation 23 1月 14 2017 20:44:24
> 文件名:/var/guix/profiles/system-23-link
>canonical file name: /gnu/store/6kai1ip1fl26xff9dicrq230xghxf5qy-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: my-root
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 24 1月 14 2017 02:14:51
> 文件名:/var/guix/profiles/system-24-link
>canonical file name: /gnu/store/z8p351gk3m7byviaa2wny8vda98nc54i-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: my-root
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 25 1月 14 2017 03:00:48
> 文件名:/var/guix/profiles/system-25-link
>canonical file name: /gnu/store/gd4yhh22a8yjnabkx3madx5q4pcv4jpm-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 26 1月 14 2017 03:13:58
> 文件名:/var/guix/profiles/system-26-link
>canonical file name: /gnu/store/binbj3nirxqdgxy0mkzwffh73rwn2m5v-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 27 1月 14 2017 03:31:22
> 文件名:/var/guix/profiles/system-27-link
>canonical file name: /gnu/store/gb45kfs8z8qbfm9v82ny2ppnlhzjkxl4-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: /dev/sda1
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 28 1月 14 2017 02:14:51
> 文件名:/var/guix/profiles/system-28-link
>canonical file name: /gnu/store/z8p351gk3m7byviaa2wny8vda98nc54i-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: my-root
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 29 1月 14 2017 02:14:51
> 文件名:/var/guix/profiles/system-29-link
>canonical file name: /gnu/store/z8p351gk3m7byviaa2wny8vda98nc54i-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: my-root
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 30 1月 14 2017 09:05:51
> 文件名:/var/guix/profiles/system-30-link
>canonical file name: /gnu/store/xf4rly5ncklc6dmxf6shj0q9zg2y8fr4-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: my-root
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 31 1月 14 2017 09:24:49
> 文件名:/var/guix/profiles/system-31-link
>canonical file name: /gnu/store/br28lnbrzx30fn7j0qz9zc38zl7xsplb-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: my-root
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>Generation 32 1月 14 2017 20:44:24
> 文件名:/var/guix/profiles/system-32-link
>canonical file name: /gnu/store/6kai1ip1fl26xff9dicrq230xghxf5qy-system
> label: GNU with Linux-Libre 4.9.3 (beta)
> root device: my-root
>内核:/gnu/store/p0962bjl55ga8v2m4h80d7fh9a98v7ab-linux-libre-4.9.3/bzImage
>address@hidden:/tmp $
>
>---------------------------------------------------------------------------------------------------------------
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.