[Nix-dev] nix store: hardlink vs symlink
Peter Simons
simons at cryp.to
Sat Sep 24 16:41:07 CEST 2011
Hi Florian,
> Why is nix using symlinks to link files in the nix store?
> Would switching to hardlinks break something?
why do you think that hardlinks would be preferable?
It is easy to determine where a symlink points to, but it's expensive to
determine that for a hardlink. That information is oftentimes relevant,
though, i.e. when analyzing run-time dependencies between store paths.
Take care,
Peter
More information about the nix-dev
mailing list