summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/format.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-04-21 11:33:11 +0000
committerThierry Vignaud <tv@mandriva.org>2009-04-21 11:33:11 +0000
commit1900072762d0910224362275b4933fb187f6e809 (patch)
tree5e016a4dceb5637c862181910dab26bd27484d8f /perl-install/fs/format.pm
parent705bb01dbafd020971ead18c9bcde14bdbc0a590 (diff)
downloaddrakx-backup-do-not-use-1900072762d0910224362275b4933fb187f6e809.tar
drakx-backup-do-not-use-1900072762d0910224362275b4933fb187f6e809.tar.gz
drakx-backup-do-not-use-1900072762d0910224362275b4933fb187f6e809.tar.bz2
drakx-backup-do-not-use-1900072762d0910224362275b4933fb187f6e809.tar.xz
drakx-backup-do-not-use-1900072762d0910224362275b4933fb187f6e809.zip
(part_raw) display a progress bar while formating an ext4 partition
Diffstat (limited to 'perl-install/fs/format.pm')
-rw-r--r--perl-install/fs/format.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/format.pm b/perl-install/fs/format.pm
index 509134b17..e50cf492a 100644
--- a/perl-install/fs/format.pm
+++ b/perl-install/fs/format.pm
@@ -168,7 +168,7 @@ sub part_raw {
my @args = ($cmd, @first_options, @options, devices::make($dev));
- if ($cmd eq 'mkfs.ext3' && $wait_message) {
+ if ($cmd =~ /^mkfs.ext[34]$/ && $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);