aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 13:50:44 +0200
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 13:51:35 +0200
commit8cec32e7f5e073946ef7bbf5ec1839e40b203bbc (patch)
tree55254106d9aca22b93a22d46f5f7d4f1f37f36e3
parent3df1ee2ba573a999aebb87cc9c5cac21df158120 (diff)
fix directory tree renderings
-rw-r--r--doc/manual/src/architecture/store/fso.md38
1 files changed, 19 insertions, 19 deletions
diff --git a/doc/manual/src/architecture/store/fso.md b/doc/manual/src/architecture/store/fso.md
index 2ec365eb6..e0eb69f60 100644
--- a/doc/manual/src/architecture/store/fso.md
+++ b/doc/manual/src/architecture/store/fso.md
@@ -19,27 +19,27 @@ Examples:
- a directory with contents
- /nix/store/<hash>-hello-2.10
- ├── bin
- │   └── hello
- └── share
- ├── info
- │   └── hello.info
- └── man
- └── man1
- └── hello.1.gz
+ /nix/store/<hash>-hello-2.10
+ ├── bin
+ │   └── hello
+ └── share
+ ├── info
+ │   └── hello.info
+ └── man
+ └── man1
+ └── hello.1.gz
- a directory with relative symlink and other contents
- /nix/store/<hash>-go-1.16.9
- ├── bin -> share/go/bin
- ├── nix-support/
- └── share/
+ /nix/store/<hash>-go-1.16.9
+ ├── bin -> share/go/bin
+ ├── nix-support/
+ └── share/
- a directory with absolute symlink
- /nix/store/d3k...-nodejs
- └── nix_node -> /nix/store/f20...-nodejs-10.24.
+ /nix/store/d3k...-nodejs
+ └── nix_node -> /nix/store/f20...-nodejs-10.24.
A bare file or symlink can be a root file system object.
Examples:
@@ -53,13 +53,13 @@ Examples:
- an arbitrarily symlinked file may change or not exist at all
- /nix/store/<hash>-foo
- └── foo -> /home/foo
+ /nix/store/<hash>-foo
+ └── foo -> /home/foo
- if a symlink to a store path was not automatically created by Nix, it may be invalid or get invalidated when the store object is deleted
- /nix/store/<hash>-bar
- └── bar -> /nix/store/abc...-foo
+ /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.