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

Collapse All | Expand All

(-)a/defaults/initrd.scripts (-3 / +3 lines)
Lines 637-643 startVolumes() { Link Here
637
637
638
	if [ "${USE_LVM_NORMAL}" = '1' ]
638
	if [ "${USE_LVM_NORMAL}" = '1' ]
639
	then
639
	then
640
		if [ -e '/bin/vgscan' -a -e '/bin/vgchange' ]
640
		if [ -e '/bin/lvm ]
641
		then
641
		then
642
			for dev in ${RAID_DEVICES}
642
			for dev in ${RAID_DEVICES}
643
			do
643
			do
Lines 645-653 startVolumes() { Link Here
645
			done
645
			done
646
646
647
			good_msg "Scanning for Volume Groups"
647
			good_msg "Scanning for Volume Groups"
648
			/bin/vgscan --ignorelockingfailure --mknodes 2>/dev/null
648
			[ -d /etc/lvm/cache ] && /bin/lvm vgscan
649
			good_msg "Activating Volume Groups"
649
			good_msg "Activating Volume Groups"
650
			/bin/vgchange -ay --sysinit 2>/dev/null
650
			/bin/lvm vgchange -ay --sysinit
651
651
652
			# Disable EVMS since lvm is activated and they dont work together.
652
			# Disable EVMS since lvm is activated and they dont work together.
653
			if [ "${USE_EVMS_NORMAL}" = '1' ]
653
			if [ "${USE_EVMS_NORMAL}" = '1' ]
(-)a/defaults/linuxrc (-7 lines)
Lines 31-42 then Link Here
31
	[ -e /linuxrc ] && rm /linuxrc
31
	[ -e /linuxrc ] && rm /linuxrc
32
fi
32
fi
33
33
34
if [ -e /bin/lvm ]
35
then
36
	[ -e /bin/vgscan   ] || ln -s /bin/lvm /bin/vgscan
37
	[ -e /bin/vgchange ] || ln -s /bin/lvm /bin/vgchange
38
fi
39
40
quiet_kmsg
34
quiet_kmsg
41
35
42
CMDLINE=`cat /proc/cmdline`
36
CMDLINE=`cat /proc/cmdline`
43
- 

Return to bug 351047