From db3ba8019fd101ea4e40c187934ab80794bb90e4 Mon Sep 17 00:00:00 2001 From: Tom Gundersen Date: Wed, 19 Jan 2011 01:55:32 +0100 Subject: dev: create pts and shm directories Creates the mountpoints for the standard api filesystems in /etc/fstab. At the moment this is already done by /lib/udev/devices in our udev package. However, with this change it is possible to boot a fully working system with the udev unaltered from upstream. For the future, this patch allows us to get rid of the /lib/udev/devices directory from the udev package alltogether. v2: simplified after suggestion from Dave. Signed-off-by: Tom Gundersen --- rc.sysinit | 2 ++ 1 file changed, 2 insertions(+) (limited to 'rc.sysinit') diff --git a/rc.sysinit b/rc.sysinit index ec5307c..832776f 100755 --- a/rc.sysinit +++ b/rc.sysinit @@ -274,6 +274,8 @@ if [[ -x /sbin/fsck ]]; then stat_done fi +/bin/mkdir -p /dev/{pts,shm} + stat_busy "Mounting Local Filesystems" /bin/mount -n -o remount,rw / -- cgit v1.2.3