Here's the patch, that adds support for LV Path in this library.
Later I will also adjust setup-storage in FAI.



--- LVM.pm      2012-02-08 23:51:49.000000000 +0100
+++ /home/lange/LVM.pm  2013-10-07 21:15:10.935908675 +0200
@@ -288,9 +288,14 @@
             $vghash{$vgn}->{uuid} = $1; 
             next VGINF; }
 
+        # Parse the logical path name.
+        elsif( m/LV Path\s+(\S+)/ ) { 
+            $lvn = $1; 
+            $vghash{$vgn}->{lvols}->{$lvn}->{path} = $1; 
+            next VGINF; }
+
         # Parse the logical volume name.
         elsif( m/LV Name\s+(\S+)/ ) { 
-            $lvn = $1; 
             $vghash{$vgn}->{lvols}->{$lvn}->{name} = $1; 
             next VGINF; }
 


-- 
regards Thomas


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to