From a04a65d7a5ef904ff8465bd4e63e17a88d75be2f Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Wed, 6 Sep 2006 14:29:49 +0000 Subject: [PATCH] * Release notes. --- doc/manual/release-notes.xml | 37 ++++++++++++++++++++++++++++-------- 1 file changed, 29 insertions(+), 8 deletions(-) diff --git a/doc/manual/release-notes.xml b/doc/manual/release-notes.xml index 3ad9e1de0..9cc1ac720 100644 --- a/doc/manual/release-notes.xml +++ b/doc/manual/release-notes.xml @@ -115,9 +115,6 @@ irreversible. bsdiff updated 4.3. - TODO: open files etc. are now used as roots of the - garbage collector (r5796). - TODO: --attr / -A flags in nix-env/nix-instantiate/nix-build. Also nix-env -qa --attr. @@ -127,11 +124,35 @@ irreversible. the build result to be named something other than result. - nix-store --gc - (a.k.a. nix-collect-garbage) prints out the - number of bytes freed on standard output. nix-store --gc - --print-dead shows how many bytes would be freed by an - actual garbage collection. + Garbage collector improvements: + + + + Open files (such as running programs) are now + used as roots of the garbage collector. This prevents programs + that have been uninstalled from being garbage collected while + they are still running. The script that detects these + additional runtime roots + (find-runtime-roots.pl) is inherently + system-specific, but it should work on Linux and on all + platforms that have the lsof + utility. + + nix-store --gc + (a.k.a. nix-collect-garbage) prints out the + number of bytes freed on standard output. nix-store + --gc --print-dead shows how many bytes would be freed + by an actual garbage collection. + + nix-collect-garbage -d + removes all old generations of all profiles + before calling the actual garbage collector (nix-store + --gc). This is an easy way to get rid of all old + packages in the Nix store. + + + + New command nix-store --delete to delete specific paths from the Nix store. It won’t delete reachable