aboutsummaryrefslogtreecommitdiff
path: root/doc/manual/src
diff options
context:
space:
mode:
authorJohn Ericson <John.Ericson@Obsidian.Systems>2022-04-18 22:02:21 -0400
committerValentin Gagarin <valentin.gagarin@tweag.io>2022-08-04 12:37:46 +0200
commit1bbad62c7d5f3b0d18c3fdb5a8e947ae5232139f (patch)
tree69f2c21f8d48ed0393a12fb2579fa35f474a0e81 /doc/manual/src
parent838ba26fda23649545cc61a274e20076a2e27892 (diff)
doc: File system data -> file system object, to match Nix
Diffstat (limited to 'doc/manual/src')
-rw-r--r--doc/manual/src/design/store/objects.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/manual/src/design/store/objects.md b/doc/manual/src/design/store/objects.md
index ddfefa166..8783a1648 100644
--- a/doc/manual/src/design/store/objects.md
+++ b/doc/manual/src/design/store/objects.md
@@ -3,10 +3,10 @@
File system data in Nix is organized into *store objects*.
A store object is the combination of
- - some file system data
+ - A (root) file system object
- references to store objects
-## File system data
+## File system objects
The nix store uses a simple filesystem model, similar to the one Git uses.
In particular, every file system object falls into these three cases:
@@ -17,7 +17,7 @@ In particular, every file system object falls into these three cases:
File children additionally have an executable flag.
- Symlink: may point anywhere.
- In particular, Symlinks that do not point within the containing file system data or that of another store object referenced by the containing store object are allowed, but might not function as intended.
+ In particular, Symlinks that do not point within the containing root file system object or that of another store object referenced by the containing store object are allowed, but might not function as intended.
A bare file as the "root" file system object is allowed.
Note that it cannot be executable, though.
@@ -29,7 +29,7 @@ Without a flag saying which, whether root files are executable or non-executable
Store objects can refer to both other store objects and themselves.
-References are normally calculated by scanning the file system data for store paths (which we describe in the next section) referring to store objects.
+References are normally calculated by scanning the rooted file system objects for store paths (which we describe in the next section) referring to store objects.
For now, it suffices to say that a store path is a string encoding of a reference to a store paths, and therefore it is something that we can search for in the contents of files, and thus in store objects by searching in all their files.
When we get to building in a future section, this process will be described in precise detail.