/dev mount wird nicht mehr abgemelded, sondern in das spÀtere System gemoved
git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_initrd@6267 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
parent
d767322d74
commit
1ece702d38
2
init
2
init
@ -137,7 +137,7 @@ done
|
|||||||
|
|
||||||
if [ "$FOUND" ]; then
|
if [ "$FOUND" ]; then
|
||||||
pkill udevd
|
pkill udevd
|
||||||
umount -fl /dev
|
mount --move /dev /mnt/dev
|
||||||
umount /sys
|
umount /sys
|
||||||
umount /proc
|
umount /proc
|
||||||
exec /sbin/switch_root /mnt /sbin/init
|
exec /sbin/switch_root /mnt /sbin/init
|
||||||
|
2
init.hd
2
init.hd
@ -139,7 +139,7 @@ done
|
|||||||
if [ ${ROOTDEV} ]; then
|
if [ ${ROOTDEV} ]; then
|
||||||
mount /dev/$ROOTDEV /mnt
|
mount /dev/$ROOTDEV /mnt
|
||||||
pkill udevd
|
pkill udevd
|
||||||
umount -fl /dev
|
mount --move /dev /mnt/dev
|
||||||
umount /sys
|
umount /sys
|
||||||
umount /proc
|
umount /proc
|
||||||
exec /sbin/switch_root /mnt /sbin/init
|
exec /sbin/switch_root /mnt /sbin/init
|
||||||
|
2
init.usb
2
init.usb
@ -127,7 +127,7 @@ for i in /sys/block/sd?; do
|
|||||||
mount /dev/$DEVNAME /mnt
|
mount /dev/$DEVNAME /mnt
|
||||||
if [ -d /mnt/Viitor/install ]; then
|
if [ -d /mnt/Viitor/install ]; then
|
||||||
pkill udevd
|
pkill udevd
|
||||||
umount -fl /dev
|
mount --move /dev /mnt/dev
|
||||||
umount /sys
|
umount /sys
|
||||||
umount /proc
|
umount /proc
|
||||||
exec /sbin/switch_root /mnt /sbin/init
|
exec /sbin/switch_root /mnt /sbin/init
|
||||||
|
Loading…
Reference in New Issue
Block a user