summaryrefslogtreecommitdiffstats
path: root/perl-install/install_interactive.pm
diff options
context:
space:
mode:
authorMystery Man 553 <uid553@mandriva.org>2001-02-12 22:53:38 +0000
committerMystery Man 553 <uid553@mandriva.org>2001-02-12 22:53:38 +0000
commit63a6ace592e76e35c9144a71fa8eb4a21304509f (patch)
treec82f1d44b1df901a46a6547b0e6457bcb289b8c4 /perl-install/install_interactive.pm
parentde59da7a96da791314f78c5fa06274bfd480aa13 (diff)
downloaddrakx-63a6ace592e76e35c9144a71fa8eb4a21304509f.tar
drakx-63a6ace592e76e35c9144a71fa8eb4a21304509f.tar.gz
drakx-63a6ace592e76e35c9144a71fa8eb4a21304509f.tar.bz2
drakx-63a6ace592e76e35c9144a71fa8eb4a21304509f.tar.xz
drakx-63a6ace592e76e35c9144a71fa8eb4a21304509f.zip
auto_allocate partitions choice modified. diskdrake in expert asks what kind
of auto_allocation is wanted, others choose 'simple' in %fsedit::suggestions
Diffstat (limited to 'perl-install/install_interactive.pm')
-rw-r--r--perl-install/install_interactive.pm8
1 files changed, 4 insertions, 4 deletions
diff --git a/perl-install/install_interactive.pm b/perl-install/install_interactive.pm
index a627b75fa..f38159fa5 100644
--- a/perl-install/install_interactive.pm
+++ b/perl-install/install_interactive.pm
@@ -32,7 +32,7 @@ sub partition_with_diskdrake {
do {
$ok = 1;
require diskdrake;
- diskdrake::main($hds, $o->{raid}, interactive_gtk->new, $o->{partitions}, $nowizard);
+ diskdrake::main($hds, $o->{raid}, interactive_gtk->new, $nowizard);
delete $o->{wizard} and return partitionWizard($o, 'nodiskdrake');
my @fstab = fsedit::get_fstab(@$hds, $o->{raid});
@@ -65,7 +65,7 @@ sub partitionWizardSolutions {
my @good_hds = grep { partition_table::can_raw_add($_) } @$hds;
if (fsedit::free_space(@good_hds) > $min_linux and !$readonly) {
- $solutions{free_space} = [ 20, _("Use free space"), sub { fsedit::auto_allocate($hds, $o->{partitions}); 1 } ]
+ $solutions{free_space} = [ 20, _("Use free space"), sub { fsedit::auto_allocate($hds); 1 } ]
} else {
push @wizlog, _("Not enough free space to allocate new partitions") . ": " .
(@good_hds ?
@@ -138,7 +138,7 @@ When sure, press Ok.")) or return;
partition_table::adjust_local_extended($hd, $part);
partition_table::adjust_main_extended($hd);
- fsedit::auto_allocate($hds, $o->{partitions});
+ fsedit::auto_allocate($hds);
1;
} ] if !$readonly;
} else {
@@ -156,7 +156,7 @@ When sure, press Ok.")) or return;
$o->set_help('takeOverHdConfirm');
$o->ask_okcancel('', _("ALL existing partitions and their data will be lost on drive %s", partition_table_raw::description($hd))) or return;
partition_table_raw::zero_MBR($hd);
- fsedit::auto_allocate($hds, $o->{partitions});
+ fsedit::auto_allocate($hds);
1;
} ];
}