From c575ba1f836b16e8dfa87ec10f15d2a4e4dddf46 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Tue, 3 Apr 2001 17:57:58 +0000 Subject: keep mount point configuration trhough multi-passes of diskdrake and others. --- perl-install/install_any.pm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'perl-install/install_any.pm') diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index bd412af41..c24674044 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -775,6 +775,9 @@ sub getHds { $ok = fsedit::verifyHds($hds, $flags->{readonly}, $ok) unless $flags->{clearall} || $flags->{clear}; + #- try to figure out if the same number of hds is available, use them if ok. + $ok && $hds && @$hds > 0 && @{$o->{hds} || []} == @$hds and return $ok; + $o->{hds} = $hds; $o->{lvms} = $lvms; $o->{fstab} = [ fsedit::get_fstab(@$hds, @$lvms) ]; -- cgit v1.2.1