diff options
Diffstat (limited to 'testing/multipath-tools/multipath-tools-0.4.8-udev-scsi_id-changes.patch')
-rw-r--r-- | testing/multipath-tools/multipath-tools-0.4.8-udev-scsi_id-changes.patch | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/testing/multipath-tools/multipath-tools-0.4.8-udev-scsi_id-changes.patch b/testing/multipath-tools/multipath-tools-0.4.8-udev-scsi_id-changes.patch new file mode 100644 index 000000000..a770a0589 --- /dev/null +++ b/testing/multipath-tools/multipath-tools-0.4.8-udev-scsi_id-changes.patch @@ -0,0 +1,90 @@ +diff -Nuar multipath-tools-0.4.8.orig/libmultipath/defaults.h multipath-tools-0.4.8/libmultipath/defaults.h +--- multipath-tools-0.4.8.orig/libmultipath/defaults.h 2007-08-02 21:05:37.000000000 +0000 ++++ multipath-tools-0.4.8/libmultipath/defaults.h 2009-10-30 06:00:21.432553430 +0000 +@@ -1,4 +1,4 @@ +-#define DEFAULT_GETUID "/lib/udev/scsi_id -g -u -s /block/%n" ++#define DEFAULT_GETUID "/lib/udev/scsi_id -g -u -d /dev/%n" + #define DEFAULT_UDEVDIR "/dev" + #define DEFAULT_SELECTOR "round-robin 0" + #define DEFAULT_FEATURES "0" +diff -Nuar multipath-tools-0.4.8.orig/libmultipath/hwtable.c multipath-tools-0.4.8/libmultipath/hwtable.c +--- multipath-tools-0.4.8.orig/libmultipath/hwtable.c 2007-08-02 21:05:37.000000000 +0000 ++++ multipath-tools-0.4.8/libmultipath/hwtable.c 2009-10-30 06:00:08.087158020 +0000 +@@ -157,7 +157,7 @@ + /* HP Smart Array */ + .vendor = "HP", + .product = "LOGICAL VOLUME.*", +- .getuid = "/lib/udev/scsi_id -n -g -u -s /block/%n", ++ .getuid = "/lib/udev/scsi_id -n -g -u -d /dev/%n", + .getprio = NULL, + .features = DEFAULT_FEATURES, + .hwhandler = DEFAULT_HWHANDLER, +@@ -199,7 +199,7 @@ + { + .vendor = "EMC", + .product = "SYMMETRIX", +- .getuid = "/lib/udev/scsi_id -g -u -ppre-spc3-83 -s /block/%n", ++ .getuid = "/lib/udev/scsi_id -g -u -ppre-spc3-83 -d /dev/%n", + .getprio = NULL, + .features = DEFAULT_FEATURES, + .hwhandler = DEFAULT_HWHANDLER, +diff -Nuar multipath-tools-0.4.8.orig/multipath/multipath.conf.5 multipath-tools-0.4.8/multipath/multipath.conf.5 +--- multipath-tools-0.4.8.orig/multipath/multipath.conf.5 2007-08-02 21:05:37.000000000 +0000 ++++ multipath-tools-0.4.8/multipath/multipath.conf.5 2009-10-30 05:59:19.272559733 +0000 +@@ -109,7 +109,7 @@ + The default program and args to callout to obtain a unique path + identifier. Should be specified with an absolute path. Default value + is +-.I /lib/udev/scsi_id -g -u -s ++.I /lib/udev/scsi_id -g -u -d + .TP + .B prio_callout + The default program and args to callout to obtain a path priority +diff -Nuar multipath-tools-0.4.8.orig/multipath.conf.annotated multipath-tools-0.4.8/multipath.conf.annotated +--- multipath-tools-0.4.8.orig/multipath.conf.annotated 2007-08-02 21:05:37.000000000 +0000 ++++ multipath-tools-0.4.8/multipath.conf.annotated 2009-10-30 05:59:53.002576683 +0000 +@@ -47,9 +47,9 @@ + # # scope : multipath + # # desc : the default program and args to callout to obtain a unique + # # path identifier. Absolute path required +-# # default : /lib/udev/scsi_id -g -u -s ++# # default : /lib/udev/scsi_id -g -u -d + # # +-# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n" ++# getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n" + # + # # + # # name : prio_callout +@@ -291,9 +291,9 @@ + # # scope : multipath + # # desc : the program and args to callout to obtain a unique + # # path identifier. Absolute path required +-# # default : /lib/udev/scsi_id -g -u -s ++# # default : /lib/udev/scsi_id -g -u -d + # # +-# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n" ++# getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n" + # + # # + # # name : prio_callout +diff -Nuar multipath-tools-0.4.8.orig/multipath.conf.synthetic multipath-tools-0.4.8/multipath.conf.synthetic +--- multipath-tools-0.4.8.orig/multipath.conf.synthetic 2007-08-02 21:05:37.000000000 +0000 ++++ multipath-tools-0.4.8/multipath.conf.synthetic 2009-10-30 05:59:38.569224508 +0000 +@@ -7,7 +7,7 @@ + # polling_interval 10 + # selector "round-robin 0" + # path_grouping_policy multibus +-# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n" ++# getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n" + # prio_callout /bin/true + # path_checker directio + # rr_min_io 100 +@@ -52,7 +52,7 @@ + # vendor "COMPAQ " + # product "HSV110 (C)COMPAQ" + # path_grouping_policy multibus +-# getuid_callout "/lib/udev/scsi_id -g -u -s /block/%n" ++# getuid_callout "/lib/udev/scsi_id -g -u -d /dev/%n" + # path_checker directio + # path_selector "round-robin 0" + # hardware_handler "0" |