From: tumashu <tumashu@163.com>
To: Maxim Cournoyer <maxim.cournoyer@gmail.com>
Cc: guix <guix-devel@gnu.org>
Subject: Re:Re: How to remove useless generations to save disk spack
Date: Wed, 26 Apr 2017 09:15:20 +0800 (CST) [thread overview]
Message-ID: <4064672f.13c6.15ba7d3b360.Coremail.tumashu@163.com> (raw)
In-Reply-To: <6E98CDF8-67ED-4A51-8970-1A8F312D2E62@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 11286 bytes --]
Thanks very much!
在 2017-04-26 07:50:54,"Maxim Cournoyer" <maxim.cournoyer@gmail.com> 写道:
>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 <tumashu@163.com> wrote:
>>How to remove useless generations to save disk spack?
>>----------------------------------------------------------------------------------------------
>>feng@tumashu:/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
>>feng@tumashu:/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
>>feng@tumashu:/tmp $
>>
>>---------------------------------------------------------------------------------------------------------------
>
>--
>Sent from my Android device with K-9 Mail. Please excuse my brevity.
[-- Attachment #2: Type: text/html, Size: 12780 bytes --]
next prev parent reply other threads:[~2017-04-26 1:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-25 23:08 How to remove useless generations to save disk spack tumashu
2017-04-25 23:50 ` Maxim Cournoyer
2017-04-26 1:15 ` tumashu [this message]
2017-04-26 3:55 ` Leo Famulari
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4064672f.13c6.15ba7d3b360.Coremail.tumashu@163.com \
--to=tumashu@163.com \
--cc=guix-devel@gnu.org \
--cc=maxim.cournoyer@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).