summaryrefslogtreecommitdiffstats
path: root/fs/skeleton/etc/inittab
diff options
context:
space:
mode:
authorMaxime Ripard <maxime.ripard@free-electrons.com>2011-06-29 15:46:16 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-07-03 21:20:49 +0200
commit22fde22e35f98f7830c2f8955465532328348cd1 (patch)
tree6925d0faf7ebff2b0e30851e1a252e2f00854da1 /fs/skeleton/etc/inittab
parent49d359ff7b62f83c5525208437cd2bf12af73aff (diff)
downloadbuildroot-novena-22fde22e35f98f7830c2f8955465532328348cd1.tar.gz
buildroot-novena-22fde22e35f98f7830c2f8955465532328348cd1.zip
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: Maxime Ripard <maxime.ripard@free-electrons.com> Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'fs/skeleton/etc/inittab')
-rw-r--r--fs/skeleton/etc/inittab1
1 files changed, 1 insertions, 0 deletions
diff --git a/fs/skeleton/etc/inittab b/fs/skeleton/etc/inittab
index b1e5c164e..0e504679b 100644
--- a/fs/skeleton/etc/inittab
+++ b/fs/skeleton/etc/inittab
@@ -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