guix-devel/nix/libstore
Eelco Dolstra e134baae77 daemon: optimizePath: Detect some .links corruptions.
If automatic store optimisation is enabled, and a hard-linked file in
the store gets corrupted, then the corresponding .links entry will
also be corrupted. In that case, trying to repair with --repair or
--repair-path won't work, because the new "good" file will be replaced
by a hard link to the corrupted file. We can catch most of these cases
by doing a sanity-check on the file sizes.
2015-12-02 19:37:59 +02:00
..
.gitignore build: Include a copy of Nix's libstore and daemon; build it. 2012-12-03 23:05:08 +01:00
build.cc daemon: Filter build-chroot-dirs entries that conflict with derivation outputs. 2015-12-02 19:37:59 +02:00
derivations.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
derivations.hh Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
gc.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
globals.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
globals.hh Merge branch 'nix'. 2015-05-19 16:09:58 +02:00
local-store.cc daemon: Flush upon '\r' when reading the substituter's stderr. 2015-07-07 01:03:45 +02:00
local-store.hh Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
misc.cc Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
misc.hh Merge branch 'nix'. 2015-07-03 00:30:55 +02:00
optimise-store.cc daemon: optimizePath: Detect some .links corruptions. 2015-12-02 19:37:59 +02:00
pathlocks.cc Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
pathlocks.hh Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
references.cc Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
references.hh Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
remote-store.cc Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
remote-store.hh Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
schema.sql Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
store-api.cc Merge branch 'nix' into 'master'. 2014-12-19 22:47:37 +01:00
store-api.hh Merge branch 'nix'. 2015-06-03 22:59:02 +02:00
worker-protocol.hh Merge branch 'nix'. 2015-06-03 22:59:02 +02:00