From: Harald Hoyer Date: Thu, 8 Oct 2009 12:13:08 +0000 (+0200) Subject: base/init: make link /dev/fd, mount devpts,tmpfs with correct dev parm X-Git-Tag: 003~104 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2a716d47ccc2e7c7db97b0a11df1213890cf0a5;p=thirdparty%2Fdracut.git base/init: make link /dev/fd, mount devpts,tmpfs with correct dev parm --- diff --git a/modules.d/99base/init b/modules.d/99base/init index 24832abdc..d5f78320b 100755 --- a/modules.d/99base/init +++ b/modules.d/99base/init @@ -78,6 +78,8 @@ if [ ! -c /dev/ptmx ]; then fi fi +ln -s /proc/self/fd /dev/fd >/dev/null 2>&1 + if getarg rdinitdebug; then getarg quiet && DRACUT_QUIET="yes" mkfifo /dev/initlog.pipe @@ -91,8 +93,8 @@ setdebug mkdir /dev/shm mkdir /dev/pts -mount -t devpts -o gid=5,mode=620 /dev/pts /dev/pts >/dev/null 2>&1 -mount -t tmpfs /dev/shm /dev/shm >/dev/null 2>&1 +mount -t devpts -o gid=5,mode=620 devpts /dev/pts >/dev/null 2>&1 +mount -t tmpfs tmpfs /dev/shm >/dev/null 2>&1 UDEVVERSION=$(udevadm --version)