[libmultipath] remove some more absolute path in hwtable
authorChristophe Varoqui <cvaroqui@zezette.localdomain>
Mon, 4 Sep 2006 19:33:37 +0000 (21:33 +0200)
committerChristophe Varoqui <cvaroqui@zezette.localdomain>
Mon, 4 Sep 2006 19:33:37 +0000 (21:33 +0200)
Hannes sent a patch to remove one for IBM 3526.
Go a bit further, removing all absolute paths.

libmultipath/hwtable.c

index 09cf0a4..b56c231 100644 (file)
@@ -134,7 +134,7 @@ static struct hwentry default_hw[] = {
        {
                .vendor        = "EMC",
                .product       = "SYMMETRIX",
-               .getuid        = "/sbin/scsi_id -g -u -ppre-spc3-83 -s /block/%n",
+               .getuid        = "scsi_id -g -u -ppre-spc3-83 -s /block/%n",
                .getprio       = NULL,
                .features      = DEFAULT_FEATURES,
                .hwhandler     = DEFAULT_HWHANDLER,
@@ -261,7 +261,7 @@ static struct hwentry default_hw[] = {
                .vendor        = "IBM",
                .product       = "3526",
                .getuid        = DEFAULT_GETUID,
-               .getprio       = "/sbin/mpath_prio_tpc /dev/%n",
+               .getprio       = "mpath_prio_tpc /dev/%n",
                .features      = DEFAULT_FEATURES,
                .hwhandler     = DEFAULT_HWHANDLER,
                .selector      = DEFAULT_SELECTOR,
@@ -357,7 +357,7 @@ static struct hwentry default_hw[] = {
                .vendor        = "IBM",
                .product       = "S/390 DASD ECKD",
                .bl_product       = "S/390.*",
-               .getuid        = "/sbin/dasd_id /dev/%n",
+               .getuid        = "dasd_id /dev/%n",
                .getprio       = NULL,
                .features      = DEFAULT_FEATURES,
                .hwhandler     = DEFAULT_HWHANDLER,