Commit 22fde22e authored by Maxime Ripard's avatar Maxime Ripard Committed by Peter Korsgaard
Browse files

Create and mount /dev/shm



The /dev/shm directory is neither created nor mounted as tmpfs as boot
time. This will cause troubles when using named semaphores on the
system.

Signed-off-by: default avatarMaxime Ripard <maxime.ripard@free-electrons.com>
Signed-off-by: default avatarPeter Korsgaard <jacmet@sunsite.dk>
parent 49d359ff
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4,5 +4,6 @@
/dev/root       /              ext2	rw,noauto         0      1
proc		/proc	       proc     defaults	  0	 0
devpts		/dev/pts       devpts   defaults,gid=5,mode=620	  0	 0
tmpfs           /dev/shm       tmpfs    mode=0777         0      0
tmpfs           /tmp           tmpfs    defaults          0      0
sysfs		/sys	       sysfs    defaults	  0	 0
+1 −0
Original line number Diff line number Diff line
@@ -17,6 +17,7 @@
null::sysinit:/bin/mount -t proc proc /proc
null::sysinit:/bin/mount -o remount,rw /
null::sysinit:/bin/mkdir -p /dev/pts
null::sysinit:/bin/mkdir -p /dev/shm
null::sysinit:/bin/mount -a
null::sysinit:/bin/hostname -F /etc/hostname
# now run any rc scripts