Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 49328
Collapse All | Expand All

(-)udev/linuxrc (+5 lines)
Lines 366-371 Link Here
366
echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting"
366
echo -ne "${GOOD}>>${NORMAL}${BOLD} Booting"
367
cd /newroot
367
cd /newroot
368
mkdir /newroot/proc /newroot/sys
368
pivot_root . tmp/.initrd
369
pivot_root . tmp/.initrd
369
echo -n '.'
370
echo -n '.'
Lines 374-379 Link Here
374
       umount /tmp/.initrd/proc || echo '*: Failed to unmount the initrd /proc!'
375
       umount /tmp/.initrd/proc || echo '*: Failed to unmount the initrd /proc!'
375
       mount -n --move /tmp/.initrd/dev dev || echo '*: Failed to move over the /dev tree!'
376
       mount -n --move /tmp/.initrd/dev dev || echo '*: Failed to move over the /dev tree!'
376
       rm /tmp/.initrd/dev -rf || '*: Failed to remove the initrd /dev!'
377
       rm /tmp/.initrd/dev -rf || '*: Failed to remove the initrd /dev!'
378
elif [ "${CDROOT}" -eq '0' -a "${USE_UDEV_NORMAL}" -eq '1' ]
379
then
380
       umount /tmp/.initrd/proc || echo '*: Failed to unmount the initrd /proc!'
381
       umount /tmp/.initrd/sys || echo '*: Failed to unmount the initrd /sys!'
377
elif [ "${CDROOT}" -eq '1' ]
382
elif [ "${CDROOT}" -eq '1' ]
378
then
383
then
379
       # If automount at boot was on with devfs, we'll want to umount it
384
       # If automount at boot was on with devfs, we'll want to umount it

Return to bug 49328