From b8d75ed5914466dfc5c07916ac167f8f4728888c Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Mon, 11 Jun 2001 22:17:14 +0000 Subject: include patch to autodetect raid arrays (still needs a kernel that implements the ioctl..) --- perl-install/install_any.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index 9bba376cb..077bc49f9 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -825,7 +825,7 @@ sub getHds { # add2hash_($o->{partitioning}, { readonly => 1 }) if partition_table_raw::typeOfMBR($drives[0]{device}) eq 'system_commander'; getHds: - my ($hds, $lvms) = catch_cdie { fsedit::hds(\@drives, $flags) } + my ($hds, $lvms, $raids) = catch_cdie { fsedit::hds(\@drives, $flags) } sub { $ok = 0; my $err = $@; $err =~ s/ at (.*?)$//; @@ -848,6 +848,7 @@ sub getHds { $o->{hds} = $hds; $o->{lvms} = $lvms; + $o->{raid}->{raid} = $raids; $o->{fstab} = [ fsedit::get_fstab(@$hds, @$lvms) ]; fs::check_mounted($o->{fstab}); fs::merge_fstabs($o->{fstab}, $o->{manualFstab}); -- cgit v1.2.1