From 9cabba1fc35c4989b0e280c12a845adf0e300dab Mon Sep 17 00:00:00 2001 From: Valentin Gagarin Date: Wed, 13 Jul 2022 11:17:46 +0100 Subject: [PATCH] mention hard links Co-authored-by: Thomas --- doc/manual/src/architecture/store/fso.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/manual/src/architecture/store/fso.md b/doc/manual/src/architecture/store/fso.md index c51996e41..2ec365eb6 100644 --- a/doc/manual/src/architecture/store/fso.md +++ b/doc/manual/src/architecture/store/fso.md @@ -61,4 +61,9 @@ Examples: /nix/store/-bar └── bar -> /nix/store/abc...-foo +Nix file system objects do not support [hard links][hardlink]: +each file system object which is not the root has exactly one parent and one name. +However, as store objects are immutable, an underlying file system can use hard links for optimization. + [symlink]: https://en.m.wikipedia.org/wiki/Symbolic_link +[hardlink]: https://en.m.wikipedia.org/wiki/Hard_link