From 8296a2ef96c5a86c0c87a323da7be2b57e5469c8 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 6 Aug 2007 12:54:11 +0000 Subject: restore progress bar when formatting ext3 --- perl-install/NEWS | 3 +++ perl-install/fs/format.pm | 6 +++--- perl-install/install/NEWS | 1 + 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/perl-install/NEWS b/perl-install/NEWS index eed67daa7..5080afd2a 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,3 +1,6 @@ +- diskdrake: + o restore progress bar when formatting ext3 + Version 10.4.160 - 06 August 2007, by Thierry Vignaud - diskdrake: diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm index 0c5eea69d..136581583 100644 --- a/perl-install/fs/format.pm +++ b/perl-install/fs/format.pm @@ -118,8 +118,8 @@ sub part_raw { my @args = ($cmd, @first_options, @options, devices::make($dev)); - if ($cmd eq 'mkfs.ext2' && $wait_message) { - mkfs_ext2($wait_message, @args) or die N("%s formatting of %s failed", $fs_type, $dev); + if ($cmd eq 'mkfs.ext3' && $wait_message) { + mkfs_ext3($wait_message, @args) or die N("%s formatting of %s failed", $fs_type, $dev); } else { run_program::raw({ timeout => 'never' }, @args) or die N("%s formatting of %s failed", $fs_type, $dev); } @@ -131,7 +131,7 @@ sub part_raw { set_isFormatted($part, 1); } -sub mkfs_ext2 { +sub mkfs_ext3 { my ($wait_message, @args) = @_; my $cmd = shell_quote_best_effort(@args); diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 647d3bcef..d7a8d5069 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,3 +1,4 @@ +- restore progress bar when formatting ext3 - fix range max value >2TB when creating a partition (useful for LVs >2TB) Version 10.4.158 - 3 August 2007, by Pascal "Pixel" Rigaux -- cgit v1.2.1