SVN: geninitrd/trunk/mod-multipath.sh

glen glen at pld-linux.org
Wed Jun 17 22:45:17 CEST 2009


Author: glen
Date: Wed Jun 17 22:45:17 2009
New Revision: 10396

Modified:
   geninitrd/trunk/mod-multipath.sh
Log:
- uups. remove foced devpaths

Modified: geninitrd/trunk/mod-multipath.sh
==============================================================================
--- geninitrd/trunk/mod-multipath.sh	(original)
+++ geninitrd/trunk/mod-multipath.sh	Wed Jun 17 22:45:17 2009
@@ -27,9 +27,6 @@
 	if ! is_yes "$USE_MULTIPATH"; then
 		return 1
 	fi
-if [ "$devpath" = /dev/sys/rootfs ]; then
-	devpath=/dev/mapper/LUN-14
-fi
 
 	# multipath nodes are under device mapper
 	if [[ "$devpath" != /dev/mapper/* ]]; then
@@ -61,9 +58,6 @@
 find_modules_multipath() {
 	local devpath="$1"
 
-if [ "$devpath" = /dev/sys/rootfs ]; then
-	devpath=/dev/mapper/LUN-14
-fi
 	DM_NAME=
 	eval $(dm_export "$devpath")
 	if [ -z "$DM_NAME" ]; then


More information about the pld-cvs-commit mailing list