From 22fde22e35f98f7830c2f8955465532328348cd1 Mon Sep 17 00:00:00 2001 From: Maxime Ripard Date: Wed, 29 Jun 2011 15:46:16 +0200 Subject: 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 Signed-off-by: Peter Korsgaard --- fs/skeleton/etc/inittab | 1 + 1 file changed, 1 insertion(+) (limited to 'fs/skeleton/etc/inittab') 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 -- cgit v1.2.3