Some systems rely on /dev/shm being there for mount -a

This was accidentally removed in d7401b2, when svc_t was refactored
from using shared memory.

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson committed 2017-12-22 16:44:52 +01:00
1 parent 85fe95835a
commit 95518df62d
1 file changed
+3
+3
View File
@@ -394,6 +394,9 @@ int main(int argc, char* argv[])
makedir("/dev/pts", 0755);
mount("devpts", "/dev/pts", "devpts", 0, "gid=5,mode=620");
/* Some systems rely on /dev/shm being there, for `mount -a` below */
makedir("/dev/shm", 0755);
/*
* New tmpfs based /run for volatile runtime data
* For details, see http://lwn.net/Articles/436012/