diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-05-19 09:59:45 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-05-19 16:09:58 +0200 |
commit | 38d27786086ff2b8d1325b1c0090ccff3745adfc (patch) | |
tree | 57deedf95169ad34e83c91dff742e01a11e5486d /doc/guix.texi | |
parent | e3fd0ce6969a62665a1eaedccebb6b21ced1e86f (diff) |
guix gc: Add '--optimize'.
* guix/scripts/gc.scm (show-help, %options): Add --optimize.
(guix-gc): Handle it.
Diffstat (limited to 'doc/guix.texi')
-rw-r--r-- | doc/guix.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi index 91c86dc30a..0d2a01f75a 100644 --- a/doc/guix.texi +++ b/doc/guix.texi @@ -1472,6 +1472,17 @@ Attempt to delete all the store files and directories specified as arguments. This fails if some of the files are not in the store, or if they are still live. +@item --optimize +@cindex deduplication +Optimize the store by hard-linking identical files---this is +@dfn{deduplication}. + +The daemon performs deduplication after each successful build or archive +import, unless it was started with @code{--disable-deduplication} +(@pxref{Invoking guix-daemon, @code{--disable-deduplication}}). Thus, +this option is primarily useful when the daemon was running with +@code{--disable-deduplication}. + @item --list-dead Show the list of dead files and directories still present in the store---i.e., files and directories no longer reachable from any root. |