Package: multipath-tools Tag: patch diff --git a/libmultipath/defaults.h b/libmultipath/defaults.h index 294646a..93d8c52 100644 --- a/libmultipath/defaults.h +++ b/libmultipath/defaults.h @@ -1,4 +1,4 @@ -#define DEFAULT_GETUID "/lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" +#define DEFAULT_GETUID "[ -n \"$(udevadm info --query=symlink --name=/dev/%n |grep -- '-usb-')\" || /lib/udev/scsi_id --whitelisted --replace-whitespace --device=/dev/%n" #define DEFAULT_UDEVDIR "/dev" #define DEFAULT_MULTIPATHDIR "/" LIB_STRING "/multipath" #define DEFAULT_SELECTOR "round-robin 0"
-- YunQiang Su -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

