SVN: geninitrd/trunk/geninitrd

glen glen at pld-linux.org
Wed Dec 10 16:22:36 CET 2008


Author: glen
Date: Wed Dec 10 16:22:35 2008
New Revision: 10031

Modified:
   geninitrd/trunk/geninitrd
Log:
- more specific /dev/hd* match (according to dev-3.4-1 /dev/hda[a-l] are used) to avoid /dev/hdoc being recognized as IDE not LVM

Modified: geninitrd/trunk/geninitrd
==============================================================================
--- geninitrd/trunk/geninitrd	(original)
+++ geninitrd/trunk/geninitrd	Wed Dec 10 16:22:35 2008
@@ -789,7 +789,7 @@
 		return
 	fi
 
-	if is_yes "$(echo "$devpath" | awk '/^\/dev\/(hd|ide)/ { print "yes"; }')"; then
+	if is_yes "$(echo "$devpath" | awk '/^\/dev\/(hd[a-l]|ide\/)/ { print "yes"; }')"; then
 		find_modules_ide "$devpath"
 		return
 	fi


More information about the pld-cvs-commit mailing list