summaryrefslogtreecommitdiffstats
path: root/rescue/tree
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-25 16:26:20 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-25 16:26:20 +0000
commit0e6a75d7ab09a7c4ea4e4f861b744d40606ca511 (patch)
tree1c8ba0a426230e764d891904bd517b5984161a6a /rescue/tree
parentde2b6195884f3f05a6a00aa1bcc76905e6623f42 (diff)
downloaddrakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.tar
drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.tar.gz
drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.tar.bz2
drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.tar.xz
drakx-backup-do-not-use-0e6a75d7ab09a7c4ea4e4f861b744d40606ca511.zip
fix mounting /dev/pts & /dev/shm (mga#1023)
and do it in the right place
Diffstat (limited to 'rescue/tree')
-rwxr-xr-xrescue/tree/etc/rc.sysinit4
1 files changed, 2 insertions, 2 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index e1091a3f6..a9cdef981 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -18,8 +18,8 @@ export UDEVRULESD=/run/udev/rules.d
mount -t devtmpfs -o mode=0755,nosuid devtmpfs /dev
mkdir /dev/pts
mkdir /dev/shm
-mount /dev/pts
-mount /dev/shm
+mount -t devpts -o mode=620 devpts /dev/pts
+mount -t tmpfs -o mode=1777,nosuid,nodev tmpfs /dev/shm
/lib/udev/udevd --daemon --resolve-names=never
udevadm trigger --type=subsystems --action=add