mrrl-containers

MRRL version of container scripts
git clone https://ccx.te2000.cz/git/mrrl-containers
Log | Files | Refs

commit 8529441a2dd4ba39d9682a30c816d6eae859981f
parent beca676f4b0de67d4a0aed026fbd9f719dc1e6f0
Author: ccx <ccx@te2000.cz>
Date:   Mon, 18 Mar 2024 16:02:33 +0000

group relevant commands

Diffstat:
Msbin/ns_run_mount_dev | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/sbin/ns_run_mount_dev b/sbin/ns_run_mount_dev @@ -13,8 +13,9 @@ if { s6-ln -sf /proc/self/fd ${1}/fd } if { s6-ln -sf /proc/self/fd/0 ${1}/stdin } if { s6-ln -sf /proc/self/fd/1 ${1}/stout } if { s6-ln -sf /proc/self/fd/2 ${1}/stderr } +if { s6-ln -sf ../run/shm ${1}/shm } -# dev/shm is handled via /run synlink +# dev/shm is handled via /run symlink # pts and mqueue are provided below # also have some convenience dirs in place for optionally bind-mounting them if { @@ -36,5 +37,4 @@ if { } if { mount -t devpts devpts ${1}/pts } #if { s6-mount -nwt tmpfs -o nosuid,nodev,mode=1777 shm ${1}/shm } -if { s6-ln -sf ../run/shm ${1}/shm } if { s6-mount -nwt mqueue -o nosuid,nodev,noexec mqueue ${1}/mqueue }