about summary refs log tree commit diff
path: root/scripts/find-runtime-roots.pl.in
AgeCommit message (Collapse)AuthorFilesLines
2006-07-19 * Added a tool to find additional roots for the garbage collector,Eelco Dolstra1-0/+58
such as open files, current directories, mmaped files, etc. This is inherently unportable, but it's easy to adapt this script to other platforms. Currently we call `lsof' and try to read various bits in /proc/NNN. The goal is to prevent the garbage collector from removing store paths that are no longer reachable from a permanent root but that are still in use (for instance, after the user has done "nix-env -e" on a running program).