aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src/architecture/store/fso.md
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-07-13 11:17:46 +0100
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 12:37:48 +0200
commit9cabba1fc35c4989b0e280c12a845adf0e300dab (patch)
treedbb5a44f76e1044deed7d1c4730cadae463d1f46 /doc/manual/src/architecture/store/fso.md
parentbac86231add178e4def3e3fe0bc88ace83d86c21 (diff)
mention hard links
Co-authored-by: Thomas <twatson52@mac.com>
Diffstat (limited to 'doc/manual/src/architecture/store/fso.md')
-rw-r--r--doc/manual/src/architecture/store/fso.md5
1 files changed, 5 insertions, 0 deletions
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/<hash>-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