Author: glen
Date: Mon Oct 22 19:25:46 2007
New Revision: 8838

Modified:
   geninitrd/trunk/functions
Log:
- use dmsetup from device-mapper pkg not devmap_name from multipath-tools

Modified: geninitrd/trunk/functions
==============================================================================
--- geninitrd/trunk/functions   (original)
+++ geninitrd/trunk/functions   Mon Oct 22 19:25:46 2007
@@ -105,6 +105,6 @@
        local dm_major=$(awk '$2 == "device-mapper" {print $1}' /proc/devices)
        local dm_minor=${node#/dev/dm-}
 
-       local dm_name=$(devmap_name $dm_major:$dm_minor)
+       local dm_name=$(dmsetup info -c --noheadings -j $dm_major -m $dm_minor 
| awk -F: '{print $1}')
        echo "/dev/mapper/$dm_name"
 }
_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to