[Fai-commit] r3568 - people/mugwump/lvmraid/bin

fai-commit at lists.alioth.debian.org fai-commit at lists.alioth.debian.org
Fri Jul 14 02:23:30 UTC 2006


Author: samv-guest
Date: 2006-07-14 02:23:28 +0000 (Fri, 14 Jul 2006)
New Revision: 3568

Modified:
   people/mugwump/lvmraid/bin/
   people/mugwump/lvmraid/bin/setup_harddisks
Log:
fix broken regex in lvm parser



Property changes on: people/mugwump/lvmraid/bin
___________________________________________________________________
Name: svk:merge
   - d29f7b36-84ff-0310-85ce-ba787dbd31ca:/local/fai/people/mugwump/lvmraid/bin:10514
   + d29f7b36-84ff-0310-85ce-ba787dbd31ca:/local/fai/people/mugwump/lvmraid/bin:10516

Modified: people/mugwump/lvmraid/bin/setup_harddisks
===================================================================
--- people/mugwump/lvmraid/bin/setup_harddisks	2006-07-12 18:41:28 UTC (rev 3567)
+++ people/mugwump/lvmraid/bin/setup_harddisks	2006-07-14 02:23:28 UTC (rev 3568)
@@ -922,7 +922,7 @@
 
 		}
 
-		if ($options =~ /\blvm\b(\s*\(\s*\S+\s*\))?/) {
+		if ($options =~ /\blvm(?:\(([^\s\)]+)\))?/) {
 
 		    my $lvm_name = $1 || ( $g_hostname . "_" . ($raidlevel || "0") );
 		    $g_lvm{$lvm_name} ||= {




More information about the Fai-commit mailing list