Exclude i2o_scsi driver.
authorWarren Togami <wtogami@redhat.com>
Thu, 11 Jun 2009 23:28:02 +0000 (19:28 -0400)
committerWarren Togami <wtogami@redhat.com>
Thu, 11 Jun 2009 23:28:02 +0000 (19:28 -0400)
This kernel module is dangerous to load here.  It is meant only to allow direct
access to SCSI disks, which can destroy data.  The i2o_block driver gives you
access to the defined hardware RAID arrays.

dracut-functions

index 7f14318..501cf2a 100755 (executable)
@@ -280,6 +280,10 @@ instmods() {
                fi
                ;;
            --*) mpargs+=" $mod";;
+            i2o_scsi)
+                    # Must never run this diagnostic-only module
+                    shift; continue;
+                ;;
            *)  mod=${mod##*/}
                # if we are already installed, skip this module and go on
                # to the next one.