aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/mount.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2025-08-04 04:00:05 +0900
committerOphestra <cat@gensokyo.uk>2025-08-04 04:00:05 +0900
commit9a25542c6d23fd4dc12f25fa914e6f560f4d7324 (patch)
treeb22c301ddc8f5a27711daeb68adbf9c5ca52c938 /container/mount.go
parentc6be82bcf91fc4b6e61d9df40213e80367addbd8 (diff)
container/init: use mount string constants
These literals were missed when the constants were first defined. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/mount.go')
-rw-r--r--container/mount.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/container/mount.go b/container/mount.go
index 919b6e02..821cdc0e 100644
--- a/container/mount.go
+++ b/container/mount.go
@@ -41,6 +41,8 @@ const (
// Note that any source value is allowed when fstype is [FstypeMqueue].
SourceMqueue = "mqueue"
+ // SourceTmpfsRootfs is used when mounting the tmpfs instance backing the intermediate root.
+ SourceTmpfsRootfs = "rootfs"
// SourceTmpfsDevtmpfs is used when mounting tmpfs representing a subset of host devtmpfs.
SourceTmpfsDevtmpfs = "devtmpfs"
// SourceTmpfsEphemeral is used when mounting a writable instance of tmpfs.