[dm-devel] [PATCH 10/21] [hwtable] Update S/390 DASD entry

Hannes Reinecke hare at suse.de
Mon May 21 09:24:23 UTC 2007


Current s390-tools contain a program 'dasdinfo', which should be used
instead of the older 'dasd_id' program from udev.
And we should be using 'queue_if_no_path', too.

Signed-off-by: Stefan Bader <bader at de.ibm.com>
Signed-off-by: Hannes Reinecke <hare at suse.de>
---
 libmultipath/hwtable.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libmultipath/hwtable.c b/libmultipath/hwtable.c
index df6f5aa..9354a8e 100644
--- a/libmultipath/hwtable.c
+++ b/libmultipath/hwtable.c
@@ -404,9 +404,9 @@ static struct hwentry default_hw[] = {
 		.vendor        = "IBM",
 		.product       = "S/390 DASD ECKD",
 		.bl_product       = "S/390.*",
-		.getuid        = "/sbin/dasd_id /dev/%n",
+		.getuid        = "/sbin/dasdinfo -u -b %n",
 		.getprio       = NULL,
-		.features      = DEFAULT_FEATURES,
+		.features      = "1 queue_if_no_path",
 		.hwhandler     = DEFAULT_HWHANDLER,
 		.selector      = DEFAULT_SELECTOR,
 		.pgpolicy      = MULTIBUS,
-- 
1.4.3.4




More information about the dm-devel mailing list