[Aboriginal] [PATCH] Mount /dev/shm

Bobby Bingham koorogi at koorogi.info
Sun Mar 2 21:59:03 PST 2014


---
 sources/root-filesystem/sbin/init.sh | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sources/root-filesystem/sbin/init.sh b/sources/root-filesystem/sbin/init.sh
index 845dbd4..54d867b 100755
--- a/sources/root-filesystem/sbin/init.sh
+++ b/sources/root-filesystem/sbin/init.sh
@@ -8,6 +8,8 @@ mountpoint -q sys || mount -t sysfs sys sys
 mountpoint -q dev || mount -t devtmpfs dev dev || mdev -s
 mkdir -p dev/pts
 mountpoint -q dev/pts || mount -t devpts dev/pts dev/pts
+mkdir -p dev/shm
+mountpoint -q dev/shm || mount -t tmpfs dev/shm dev/shm
 
 # If nobody said how many CPUS to use in builds, try to figure it out.
 if [ -z "$CPUS" ]
-- 
1.9.0


 1393826343.0


More information about the Aboriginal mailing list