Skip to content

Commit

Permalink
doc: Expand on prepare-root
Browse files Browse the repository at this point in the history
Per review.

Signed-off-by: Colin Walters <[email protected]>
  • Loading branch information
cgwalters committed Dec 9, 2024
1 parent 6696eb3 commit 936e832
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions docs/src/filesystem.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,13 +186,15 @@ To do this, set the
transient = true
```

option in `prepare-root.conf`. In particular this will allow software to
option in `/usr/lib/ostree/prepare-root.conf`. In particular this will allow software to
write (transiently, i.e. until the next reboot) to all top-level directories,
including `/usr` and `/opt`, with symlinks to `/var` for content that should
persist.

This can be combined with `etc.transient` as well (below).

More on prepare-root: <https://ostreedev.github.io/ostree/man/ostree-prepare-root.html>

## Enabling transient etc

The default (per above) is to have `/etc` persist. If however you do
Expand All @@ -205,10 +207,12 @@ the
transient = true
```

option in `prepare-root.conf`.
option in `/usr/lib/ostree/prepare-root.conf`.

This can be combined with `root.transient` as well (above).

More on prepare-root: <https://ostreedev.github.io/ostree/man/ostree-prepare-root.html>

## Enabling state overlays

This feature enables a writable overlay on top of `/opt` (or really, any
Expand Down

0 comments on commit 936e832

Please sign in to comment.