diff options
author | Thomas Bächler <thomas@archlinux.org> | 2010-06-03 13:37:42 +0200 |
---|---|---|
committer | Thomas Bächler <thomas@archlinux.org> | 2010-06-03 13:37:42 +0200 |
commit | 64c0a72e9fc0a83d4313f37e09b2fa5390f2d28d (patch) | |
tree | 92e578ed59c5075886c757ff70ecfcdfb292c0a2 /init | |
parent | 1a4819c2def479d7babd942f87b7b38874509ed7 (diff) | |
download | mkinitcpio-64c0a72e9fc0a83d4313f37e09b2fa5390f2d28d.tar.gz mkinitcpio-64c0a72e9fc0a83d4313f37e09b2fa5390f2d28d.tar.xz |
Do not umount /proc and /sys before switch_root, but mount --move them into the real root
Diffstat (limited to 'init')
-rw-r--r-- | init | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -141,6 +141,6 @@ if [ -n "${udevpid}" ]; then done fi -umount /proc -umount /sys +mount --move /proc /new_root/proc +mount --move /sys /new_root/sys exec /sbin/switch_root -c /dev/console /new_root ${init} "$@" |