1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2024-09-19 23:03:53 -04:00

Documentation typo

This commit is contained in:
Théophane Hufschmitt 2024-03-06 09:10:32 +01:00 committed by GitHub
parent 5a2985431c
commit fe42a0ead7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -23,7 +23,7 @@ The parts of a local overlay store are as follows:
Something else could modify the lower store, but there are restrictions on this Something else could modify the lower store, but there are restrictions on this
Nix itself requires that this store only grow, and not change in other ways. Nix itself requires that this store only grow, and not change in other ways.
For example, new store objects can be added, but deleting or modifying store objects is not allowed in general, because that will confuse and corrupt any local overlay store using those objects. For example, new store objects can be added, but deleting or modifying store objects is not allowed in general, because that will confuse and corrupt any local overlay store using those objects.
(In addition, the underlying filesystem overlay mechanism may imposed additional restrictions, see below.) (In addition, the underlying filesystem overlay mechanism may impose additional restrictions, see below.)
The lower store must not change while it is mounted as part of an overlay store. The lower store must not change while it is mounted as part of an overlay store.
To ensure it does not, you might want to mount the store directory read-only (which then requires the [read-only] parameter to be set to `true`). To ensure it does not, you might want to mount the store directory read-only (which then requires the [read-only] parameter to be set to `true`).