diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-06-17 02:16:57 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-06-17 02:16:57 +0900 |
| commit | 92b61889a6db7e5e351cade9c871a9d670917ee9 (patch) | |
| tree | 57ab12560490ab4adc48dad94665646660087aac /hst/fs.go | |
| parent | 28e133c298c2e9d45c57ab570e35936248d86ddf (diff) | |
hst: support ephemeral overlay mounts
This is useful for reusing a readonly template without autoroot.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/fs.go')
| -rw-r--r-- | hst/fs.go | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -37,6 +37,8 @@ type Ops interface { Bind(source, target *check.Absolute, flags int) Ops // Overlay appends an op that mounts the overlay pseudo filesystem. Overlay(target, state, work *check.Absolute, layers ...*check.Absolute) Ops + // OverlayEphemeral appends a MountOverlayOp with an ephemeral upperdir and workdir. + OverlayEphemeral(target *check.Absolute, layers ...*check.Absolute) Ops // OverlayReadonly appends an op that mounts the overlay pseudo filesystem readonly. OverlayReadonly(target *check.Absolute, layers ...*check.Absolute) Ops |
