summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2019-05-22 09:46:41 +0200
committerPeter Palfrader <peter@palfrader.org>2019-05-22 09:46:43 +0200
commitad1d921617bd0319230269d32b1a8217b6402214 (patch)
tree18c0af07821259a97fd2a760ad62517dc2e1c937
parentf11e92d8fa132f1d22b085c68b78fd3d997a75e6 (diff)
pvinfo: update lvdisplay parser
-rwxr-xr-xpvinfo2
1 files changed, 1 insertions, 1 deletions
diff --git a/pvinfo b/pvinfo
index b2380ac..33df34a 100755
--- a/pvinfo
+++ b/pvinfo
@@ -99,7 +99,7 @@ VG: while (<LVD>) {
if ( m/^ --- Logical volume ---/ ) {
next VG;
}
- if ( m/^ Logical extent (\d+) to (\d+):$/ ) {
+ if ( m/^ Logical extents? (\d+) to (\d+):$/ ) {
$from = $1;
$to = $2;
next;