]> git.pld-linux.org Git - projects/rc-scripts.git/commitdiff
- give user ability to disable linux multipath drivers and daemons
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 31 Oct 2011 19:12:15 +0000 (19:12 +0000)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 31 Oct 2011 19:12:15 +0000 (19:12 +0000)
svn-id: @12399

rc.d/rc.sysinit
sysconfig/system

index dbe2d61bfed0e1fc81d1f8fbf549ab4ccf2d5fbb..c6fdd23cb24204e2b3016e8aa42647ec81780ff1 100755 (executable)
@@ -564,7 +564,7 @@ if ! is_yes "$VSERVER"; then
                load_kernel_modules
        fi
 
-       if [ -x /sbin/multipath ]; then
+       if [ -x /sbin/multipath ] && ! is_no "$DM_MULTIPATH"; then
                # first make nodes that were discarded due (possible) new /dev mount
                modprobe -s dm-mod
                /sbin/dmsetup mknodes
index b8185fa747481d3a4481da974f30158113cf5303..b6d8efcb530fb50fe4b4450fc3677aedda0b0831 100644 (file)
@@ -92,6 +92,10 @@ EVMS_OS2=no
 # disable if your only LVM volume is rootfs started on initrd and want faster startup
 LVM2=yes
 
+# Disable dm-multipath and friends here if you plan to use
+# non startdard drivers (ex. DELL MPP RDAC driver)
+DM_MULTIPATH=yes
+
 # Set to anything other than 'no' to allow hotkey interactive startup...
 RC_PROMPT=yes
 
This page took 0.344248 seconds and 4 git commands to generate.