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

Collapse All | Expand All

(-)/etc/init.d/lvm-orig (-2 / +6 lines)
Lines 135-143 Link Here
135
				#still echo stderr for debugging
135
				#still echo stderr for debugging
136
				lvm_commands="#!${lvm_path}\n"
136
				lvm_commands="#!${lvm_path}\n"
137
				# Extra PV find pass because some devices might not have been available until very recently
137
				# Extra PV find pass because some devices might not have been available until very recently
138
				lvm_commands="${lvm_commands}lvchange --config '${config}' --sysinit -a ln ${VGS}\n"
138
				for VG in ${VGS} ; do
139
					lvm_commands="${lvm_commands}lvchange --config '${config}' --sysinit -a ln ${VG}\n"
140
				done
139
				# Now make the nodes
141
				# Now make the nodes
140
				lvm_commands="${lvm_commands}vgchange --config '${config}' --sysinit -a ln ${VGS}\n"
142
				for VG in ${VGS} ; do
143
					lvm_commands="${lvm_commands}vgchange --config '${config}' --sysinit -a ln ${VG}\n"
144
				done
141
				# Order of this is important, have to work around dash and LVM readline
145
				# Order of this is important, have to work around dash and LVM readline
142
				printf "%b\n" "${lvm_commands}" | $lvm_path /proc/self/fd/0 --config "${config}" >/dev/null
146
				printf "%b\n" "${lvm_commands}" | $lvm_path /proc/self/fd/0 --config "${config}" >/dev/null
143
			rc=$?
147
			rc=$?

Return to bug 690404