2 multipath/main.c | 12 ++++++++++++
3 1 file changed, 12 insertions(+)
5 Index: multipath-tools-120518/multipath/main.c
6 ===================================================================
7 --- multipath-tools-120518.orig/multipath/main.c
8 +++ multipath-tools-120518/multipath/main.c
9 @@ -409,6 +409,16 @@ get_dev_type(char *dev) {
14 +convert_dev(char *dev)
16 + char *ptr = strstr(dev, "cciss/");
24 main (int argc, char *argv[])
26 @@ -514,6 +524,8 @@ main (int argc, char *argv[])
28 strncpy(conf->dev, argv[optind], FILE_NAME_SIZE);
29 conf->dev_type = get_dev_type(conf->dev);
30 + if (conf->dev_type == DEV_DEVNODE)
31 + convert_dev(conf->dev);