aboutsummaryrefslogtreecommitdiff
path: root/rc.sysinit
diff options
context:
space:
mode:
authorTom Gundersen <teg@jklm.no>2011-01-19 01:55:32 +0100
committerTom Gundersen <teg@jklm.no>2011-04-04 03:08:08 +0800
commitdb3ba8019fd101ea4e40c187934ab80794bb90e4 (patch)
treeb104bcd1c13319e4672fe1758b0b5870c6e60426 /rc.sysinit
parentc3063d0400e7a55c9dbd6ff1b76887744e9b6224 (diff)
downloadinitscripts-db3ba8019fd101ea4e40c187934ab80794bb90e4.tar.xz
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 <teg@jklm.no>
Diffstat (limited to 'rc.sysinit')
-rwxr-xr-xrc.sysinit2
1 files changed, 2 insertions, 0 deletions
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 /