kumquat-buildroot/system/skeleton
Luca Ceresoli bfd969d29f skeleton: fix absence of /dev/shm on static, read-only systems
/dev/shm is needed for systems using shared memory. On init-based systems
this directory is usually created in the inittab along with /dev/pts, by
the lines:

package/busybox/inittab:
  ::sysinit:/bin/mkdir -p /dev/pts
  ::sysinit:/bin/mkdir -p /dev/shm

package/sysvinit/inittab:
  si2::sysinit:/bin/mkdir -p /dev/pts
  si3::sysinit:/bin/mkdir -p /dev/shm

However this is broken when static /dev management is selected and the root
filesystem is read-only, showing during boot the error:

  mkdir: can't create directory '/dev/shm': Read-only file system

Fix it by creating the empty /dev/shm directory, just like /dev/pts.

Signed-off-by: Luca Ceresoli <luca@lucaceresoli.net>
Reviewed-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2015-10-03 15:34:28 +02:00
..
bin New top-level directory: system 2012-11-04 12:51:08 +01:00
dev skeleton: fix absence of /dev/shm on static, read-only systems 2015-10-03 15:34:28 +02:00
etc initscripts: new package 2015-07-14 01:51:52 +02:00
home/ftp New top-level directory: system 2012-11-04 12:51:08 +01:00
lib New top-level directory: system 2012-11-04 12:51:08 +01:00
media New top-level directory: system 2012-11-04 12:51:08 +01:00
mnt New top-level directory: system 2012-11-04 12:51:08 +01:00
opt New top-level directory: system 2012-11-04 12:51:08 +01:00
proc New top-level directory: system 2012-11-04 12:51:08 +01:00
root skeleton/root/.bash_profile: don't set PATH 2014-10-25 18:40:31 +02:00
run skeleton: make /run a proper directory/filesystem 2015-02-03 15:58:03 +01:00
sbin New top-level directory: system 2012-11-04 12:51:08 +01:00
sys New top-level directory: system 2012-11-04 12:51:08 +01:00
tmp New top-level directory: system 2012-11-04 12:51:08 +01:00
usr New top-level directory: system 2012-11-04 12:51:08 +01:00
var system/skeleton: fix the new /var/run symbolic link 2015-02-03 17:09:34 +01:00