From 0c29e9eeac3c2e60b8268e9238b381beeb49c34f Mon Sep 17 00:00:00 2001 From: xSmurf Date: Tue, 9 Jun 2015 03:16:15 +0000 Subject: [PATCH] Fixes /run/shm in full device mode --- fs/setup.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fs/setup.go b/fs/setup.go index 5bdc553..02ed1ff 100644 --- a/fs/setup.go +++ b/fs/setup.go @@ -38,7 +38,7 @@ var basicSymlinks = [][2]string{ {"/run", "/var/run"}, {"/tmp", "/var/tmp"}, {"/run/lock", "/var/lock"}, - // Devices + {"/dev/shm", "/run/shm"}, } var deviceSymlinks = [][2]string{ @@ -47,7 +47,6 @@ var deviceSymlinks = [][2]string{ {"/proc/self/fd/0", "/dev/stdin"}, {"/proc/self/fd/1", "/dev/stdout"}, {"/dev/pts/ptmx", "/dev/ptmx"}, - {"/dev/shm", "/run/shm"}, } type fsDeviceDefinition struct {