1 |
bytegw |
1.1 |
--- e-smith-base-5.2.0/root/sbin/e-smith/console-menu-items/manageRAID.pl.FixLabelArray 2008-08-20 22:17:24.000000000 +0100 |
2 |
|
|
+++ e-smith-base-5.2.0/root/sbin/e-smith/console-menu-items/manageRAID.pl 2009-05-18 17:01:18.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*/ ) |