mirror of
https://github.com/troglobit/finit.git
synced 2026-10-14 10:19:36 +00:00
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:
1 parent
85fe95835a
commit
95518df62d
1 file changed
+3
@@ -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/
|
||||
|
||||
Reference in new issue
Block a user