/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
|
||||
pkill udevd
|
||||
umount -fl /dev
|
||||
mount --move /dev /mnt/dev
|
||||
umount /sys
|
||||
umount /proc
|
||||
exec /sbin/switch_root /mnt /sbin/init
|
||||
|
|
2
init.hd
2
init.hd
|
@ -139,7 +139,7 @@ done
|
|||
if [ ${ROOTDEV} ]; then
|
||||
mount /dev/$ROOTDEV /mnt
|
||||
pkill udevd
|
||||
umount -fl /dev
|
||||
mount --move /dev /mnt/dev
|
||||
umount /sys
|
||||
umount /proc
|
||||
exec /sbin/switch_root /mnt /sbin/init
|
||||
|
|
Loading…
Reference in New Issue
Block a user