Added support for creating EXT4 filesystems.
---- Changes since 1.510 ----
Conversion from RAID 5 to 6 and vice versa is now possible, thanks to Caspar Smit.
+When a RAID array is being rebuilt, show the speed and time remaining, thanks to Farid Benamrouche.
}
}
close(MDSTAT);
+ open(MDSTAT, $config{'mdstat'});
+ while(<MDSTAT>){
+ if (/^.*finish=(\S+)min/){
+ $md->{'remain'} = $1;
+ }
+ if (/^.*speed=(\S+)K/){
+ $md->{'speed'} = $1;
+ }
+ }
+ close(MDSTAT);
push(@get_raidtab_cache, $md);
}
# Rebuild percent
if ($raid->{'rebuild'}) {
- print &ui_table_row($text{'view_rebuild'}, $raid->{'rebuild'}." \%");
+ print &ui_table_row($text{'view_rebuild'},
+ $raid->{'rebuild'}." \% (".$raid->{'remain'}." min, ".
+ $raid->{'speed'}." KBytes/s)");
}