aboutsummaryrefslogtreecommitdiffhomepage
path: root/hst/fs.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-04-05 14:00:52 +0900
committerOphestra <cat@gensokyo.uk>2026-04-05 14:04:21 +0900
commit33a0e6c01bb93488f5442231eef3b93012d3af1e (patch)
tree0ae62faa64d82d64ffc9f7ac6de7d754a251d501 /hst/fs.go
parentd58f5c7590c1500055af6b8682d50134100c3a94 (diff)
hst: conditionally skip root remount
This enables the writable root overlay use case. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'hst/fs.go')
-rw-r--r--hst/fs.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/hst/fs.go b/hst/fs.go
index 92ca51af..13645d1a 100644
--- a/hst/fs.go
+++ b/hst/fs.go
@@ -56,8 +56,10 @@ type Ops interface {
// ApplyState holds the address of [Ops] and any relevant application state.
type ApplyState struct {
- // AutoEtcPrefix is the prefix for [FSBind] in autoetc [FSBind.Special] condition.
+ // Prefix for [FSBind] in autoetc [FSBind.Special] condition.
AutoEtcPrefix string
+ // Whether to skip remounting root.
+ NoRemountRoot bool
Ops
}