From: <fi...@sy...> - 2011-07-05 21:48:11
|
Author: finley Date: 2011-07-05 16:10:42 -0500 (Tue, 05 Jul 2011) New Revision: 4561 Modified: trunk/lib/SystemImager/Server.pm Log: Server.pm: New regex from patch provided by Thomas Zeiser Modified: trunk/lib/SystemImager/Server.pm =================================================================== --- trunk/lib/SystemImager/Server.pm 2011-07-05 21:05:31 UTC (rev 4560) +++ trunk/lib/SystemImager/Server.pm 2011-07-05 21:10:42 UTC (rev 4561) @@ -818,7 +818,16 @@ # Translate partitions in disk variables (disk autodetection compliant). foreach (@md_devices) { - m/^(.*)(p?\d+)$/; + # m/^(.*)(p?\d+)$/; + # + # New regex from patch provided by Thomas Zeiser <tho...@rr...> + # Hi, + # + # here is a small bug fix to get HP's cciss/cXdYpZ correctly + # detected in + # Server.pm (relativ to 4.1.99.svn4556_bli-1): + # + m/^(.*[^p])(p?\d+)$/; my $disk = $1; my $part_no = $2; $devices .= '${' . $DISK_by_disk{$disk} . '}' . $part_no . ' '; |