Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 113684 | Differences between
and this patch

Collapse All | Expand All

(-)generic/linuxrc.orig (-3 / +10 lines)
Lines 692-700 Link Here
692
       cd ${CHROOT}
692
       cd ${CHROOT}
693
       mkdir /${CHROOT}/proc /${CHROOT}/sys 2>/dev/null
693
       mkdir /${CHROOT}/proc /${CHROOT}/sys 2>/dev/null
694
       echo -n '.'
694
       echo -n '.'
695
               umount /dev || echo '*: Failed to unmount the initrd /dev!'
695
		if ! umount /dev
696
               umount /sys || echo '*: Failed to unmount the initrd /sys!'
696
		then
697
               umount /proc || echo '*: Failed to unmount the initrd /proc!'
697
			echo '*: Failed to unmount the initrd /dev!'
698
			echo "*: Trying to kill all udevd, umount and restart udevd"
699
			killall udevd
700
			umount /dev
701
			/sbin/udevstart
702
		fi
703
		umount /sys || echo '*: Failed to unmount the initrd /sys!'
704
		umount /proc || echo '*: Failed to unmount the initrd /proc!'
698
       echo -n '.'
705
       echo -n '.'
699
706
700
       exec <${CONSOLE} >${CONSOLE} 2>&1
707
       exec <${CONSOLE} >${CONSOLE} 2>&1

Return to bug 113684