[Fai-commit] r4862 - people/michael/features/setup_harddisks_2/implementation/lib

mt at alioth.debian.org mt at alioth.debian.org
Tue Apr 8 17:11:51 UTC 2008


Author: mt
Date: 2008-04-08 17:11:50 +0000 (Tue, 08 Apr 2008)
New Revision: 4862

Modified:
   people/michael/features/setup_harddisks_2/implementation/lib/sizes.pm
Log:
some parentheses were necessary, though. GRRRR


Modified: people/michael/features/setup_harddisks_2/implementation/lib/sizes.pm
===================================================================
--- people/michael/features/setup_harddisks_2/implementation/lib/sizes.pm	2008-04-08 16:07:02 UTC (rev 4861)
+++ people/michael/features/setup_harddisks_2/implementation/lib/sizes.pm	2008-04-08 17:11:50 UTC (rev 4862)
@@ -95,7 +95,7 @@
   # try the entire disk first; we then use the data from the current
   # configuration; this matches in fact for than the allowable strings, but
   # this should be caught later on
-  if ($dev =~ m{^/dev/i2o/hd[a-t]|cciss/c\dd\d|ida/c\dd\d|rd/c\dd\d|ataraid/d\d|sd[a-t]|hd[a-t]$}) {
+  if ($dev =~ m{^/dev/(i2o/hd[a-t]|cciss/c\dd\d|ida/c\dd\d|rd/c\dd\d|ataraid/d\d|sd[a-t]|hd[a-t])$}) {
     defined ($FAI::current_config{$dev}{end_byte})
       or die "$dev is not a valid block device\n";
 




More information about the Fai-commit mailing list