summaryrefslogtreecommitdiffstats
path: root/rescue/tree/etc/rc.sysinit
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-25 22:15:12 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-25 22:15:12 +0000
commit18cbebd4e177d93c478d7039db6591629e2d19a5 (patch)
tree1003951240a34235afd777d8c88d827197491a8c /rescue/tree/etc/rc.sysinit
parent2b44db400dd924b9c58ac1a1f3a9252a7b5387be (diff)
downloaddrakx-18cbebd4e177d93c478d7039db6591629e2d19a5.tar
drakx-18cbebd4e177d93c478d7039db6591629e2d19a5.tar.gz
drakx-18cbebd4e177d93c478d7039db6591629e2d19a5.tar.bz2
drakx-18cbebd4e177d93c478d7039db6591629e2d19a5.tar.xz
drakx-18cbebd4e177d93c478d7039db6591629e2d19a5.zip
really fix mounting /dev/pts & /dev/shm (mga#1023)
Diffstat (limited to 'rescue/tree/etc/rc.sysinit')
-rwxr-xr-xrescue/tree/etc/rc.sysinit5
1 files changed, 2 insertions, 3 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index 602a05cdd..96d2f7d88 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -18,10 +18,9 @@ export UDEVRULESD=/run/udev/rules.d
mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev
mkdir /dev/pts
mkdir /dev/shm
-mount -t devpts -o mode=620 devpts /dev/pts
-mount -t tmpfs -o mode=1777,nosuid,nodev tmpfs /dev/shm
+mount /dev/pts
+mount /dev/shm
-cp -a /tmp/stage2/dev/. /dev/
/lib/udev/udevd --daemon --resolve-names=never
udevadm trigger --type=subsystems --action=add
udevadm trigger --type=devices --action=add