From 9bc8532d56fc5c1f727919d21f464dff09316913 Mon Sep 17 00:00:00 2001 From: Ophestra Date: Tue, 26 Aug 2025 03:15:32 +0900 Subject: container/initdev: mount tmpfs on shm for ro dev Programs expect /dev/shm to be a writable tmpfs. Signed-off-by: Ophestra --- container/mount.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'container/mount.go') diff --git a/container/mount.go b/container/mount.go index 68011c7c..f7d4af31 100644 --- a/container/mount.go +++ b/container/mount.go @@ -43,6 +43,8 @@ const ( // Note that any source value is allowed when fstype is [FstypeOverlay]. SourceOverlay = "overlay" + // SourceTmpfs is used when mounting tmpfs. + SourceTmpfs = "tmpfs" // 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. -- cgit v1.3.1