[dm-devel] [PATCH 05/11] kpartx: Fix DASD name in kpartx_id

Hannes Reinecke hare at suse.de
Thu Jan 17 14:59:27 UTC 2013


The name of the DASD type is 'ccw', not 'dasd'.

Signed-off-by: Hannes Reinecke <hare at suse.de>
---
 kpartx/kpartx_id |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/kpartx/kpartx_id b/kpartx/kpartx_id
index 47fab1a..517b856 100644
--- a/kpartx/kpartx_id
+++ b/kpartx/kpartx_id
@@ -83,7 +83,7 @@ fi
 if [ -n "$dmdeps" ] ; then
     case "$dmdeps" in
 	*\(94,*)
-            echo "DM_TYPE=dasd"
+            echo "DM_TYPE=ccw"
 	    ;;
 	*\(104,* | *\(105,* | *\(106,* | *\(107,* | *\(108,* | *\(109,* | *\(110,* | *\(112,*)
 	    echo "DM_TYPE=cciss"
-- 
1.7.10.4




More information about the dm-devel mailing list