[arch-projects] [PATCH 10/10] dev: create pts and shm directories

Tom Gundersen teg at jklm.no
Wed Mar 30 14:01:31 EDT 2011


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.

Signed-off-by: Tom Gundersen <teg at jklm.no>
---
 rc.sysinit |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/rc.sysinit b/rc.sysinit
index e3cd57e..59995c5 100755
--- a/rc.sysinit
+++ b/rc.sysinit
@@ -275,6 +275,9 @@ if [[ -x /sbin/fsck ]]; then
 	stat_done
 fi
 
+/bin/mkdir -p /dev/pts
+/bin/mkdir -p /dev/shm
+
 stat_busy "Mounting Local Filesystems"
 /bin/mount -n -o remount,rw /
 
-- 
1.7.4.2



More information about the arch-projects mailing list