summaryrefslogtreecommitdiffstats
path: root/rescue
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2005-01-10 09:56:11 +0000
committerPascal Rigaux <pixel@mandriva.com>2005-01-10 09:56:11 +0000
commit9e55fbcddc31e1ba16e77d2600c51b08f457c1e2 (patch)
tree0b61436c78d7ca719dab1726f2e37b317ac4b4a6 /rescue
parentde389924b9e7bab26b739a0f42f032afdd0e0d44 (diff)
downloaddrakx-backup-do-not-use-9e55fbcddc31e1ba16e77d2600c51b08f457c1e2.tar
drakx-backup-do-not-use-9e55fbcddc31e1ba16e77d2600c51b08f457c1e2.tar.gz
drakx-backup-do-not-use-9e55fbcddc31e1ba16e77d2600c51b08f457c1e2.tar.bz2
drakx-backup-do-not-use-9e55fbcddc31e1ba16e77d2600c51b08f457c1e2.tar.xz
drakx-backup-do-not-use-9e55fbcddc31e1ba16e77d2600c51b08f457c1e2.zip
have /dev rw (eg: for /dev/initctl)
Diffstat (limited to 'rescue')
-rwxr-xr-xrescue/tree/etc/rc.sysinit2
1 files changed, 2 insertions, 0 deletions
diff --git a/rescue/tree/etc/rc.sysinit b/rescue/tree/etc/rc.sysinit
index 15643bfaf..0813a989b 100755
--- a/rescue/tree/etc/rc.sysinit
+++ b/rescue/tree/etc/rc.sysinit
@@ -10,6 +10,8 @@ action "Remounting root filesystem in read-write mode" mount -n -o remount,rw /
ln -s /tmp/stage2/etc/* /etc 2>/dev/null
+rm -f /dev ; cp -a /tmp/stage2/dev /dev
+
mkdir /proc
action "Mounting proc filesystem" mount -n -t proc /proc /proc