1 |
bytegw |
1.1 |
--- e-smith-base-5.0.0/root/sbin/e-smith/console-menu-items/manageRAID.pl.FixLabelArray 2008-10-07 18:34:48.000000000 +0100 |
2 |
|
|
+++ e-smith-base-5.0.0/root/sbin/e-smith/console-menu-items/manageRAID.pl 2009-05-18 16:53:52.000000000 +0100 |
3 |
|
|
@@ -201,6 +201,10 @@ |
4 |
|
|
{ |
5 |
|
|
my ($key, $value) = ($1, $2); |
6 |
|
|
$key =~ s/\s//g; |
7 |
|
|
+ |
8 |
|
|
+ # Allow for different mdadm output formats for DeviceSize |
9 |
|
|
+ $key =~ s/UsedDevSize/DeviceSize/; |
10 |
|
|
+ |
11 |
|
|
$devices{$dev}{$key} = $value; |
12 |
|
|
} |
13 |
|
|
elsif ( /\s*(.*)\s+:\s+(.*)\s*/ ) |