diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2016-04-25 22:19:33 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2016-04-25 23:27:09 +0200 |
| commit | 0054e47036b13d46f0f026bbc04d19770c2ecbad (patch) | |
| tree | b76d6e274644cb3209ad4091691fd6e71d20e52d /doc | |
| parent | a1f708787d08e567da6118bacc481219884296ca (diff) | |
guix gc: Add '--free-space'.
* guix/scripts/gc.scm (show-help, %options): Add '--free-space'.
(guix-gc)[ensure-free-space]: New procedure.
Handle '--free-space'.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/guix.texi | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index ab07d1066e1..6d64772262a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi | |||
| @@ -1974,6 +1974,15 @@ suffix, such as @code{MiB} for mebibytes and @code{GB} for gigabytes | |||
| 1974 | 1974 | ||
| 1975 | When @var{min} is omitted, collect all the garbage. | 1975 | When @var{min} is omitted, collect all the garbage. |
| 1976 | 1976 | ||
| 1977 | @item --free-space=@var{free} | ||
| 1978 | @itemx -F @var{free} | ||
| 1979 | Collect garbage until @var{free} space is available under | ||
| 1980 | @file{/gnu/store}, if possible; @var{free} denotes storage space, such | ||
| 1981 | as @code{500MiB}, as described above. | ||
| 1982 | |||
| 1983 | When @var{free} or more is already available in @file{/gnu/store}, do | ||
| 1984 | nothing and exit immediately. | ||
| 1985 | |||
| 1977 | @item --delete | 1986 | @item --delete |
| 1978 | @itemx -d | 1987 | @itemx -d |
| 1979 | Attempt to delete all the store files and directories specified as | 1988 | Attempt to delete all the store files and directories specified as |
