aboutsummaryrefslogtreecommitdiffhomepage
path: root/container/mount.go
diff options
context:
space:
mode:
authorOphestra <cat@gensokyo.uk>2026-05-07 15:40:47 +0900
committerOphestra <cat@gensokyo.uk>2026-05-07 15:55:19 +0900
commit575ef307ad5cedb13a514cd038a4880ab8c91242 (patch)
tree71c0bd20e32e08c56ce1be6824f8dbe0f1a091ed /container/mount.go
parentd4144fcf7f9217d2a2dcec21202421d5fa9d4928 (diff)
container: binfmt registration
This arranges for binfmt entries to be registered for the container. Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'container/mount.go')
-rw-r--r--container/mount.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/container/mount.go b/container/mount.go
index f6a8844f..37a9445c 100644
--- a/container/mount.go
+++ b/container/mount.go
@@ -40,6 +40,9 @@ const (
// SourceMqueue is used when mounting mqueue.
// Note that any source value is allowed when fstype is [FstypeMqueue].
SourceMqueue = "mqueue"
+ // SourceBinfmtMisc is used when mounting binfmt_misc.
+ // Note that any source value is allowed when fstype is [SourceBinfmtMisc].
+ SourceBinfmtMisc = "binfmt_misc"
// SourceOverlay is used when mounting overlay.
// Note that any source value is allowed when fstype is [FstypeOverlay].
SourceOverlay = "overlay"
@@ -70,6 +73,9 @@ const (
// FstypeMqueue represents the mqueue pseudo-filesystem.
// This filesystem type is usually mounted on /dev/mqueue.
FstypeMqueue = "mqueue"
+ // FstypeBinfmtMisc represents the binfmt_misc pseudo-filesystem.
+ // This filesystem type is usually mounted on /proc/sys/fs/binfmt_misc.
+ FstypeBinfmtMisc = "binfmt_misc"
// FstypeOverlay represents the overlay pseudo-filesystem.
// This filesystem type can be mounted anywhere in the container filesystem.
FstypeOverlay = "overlay"