summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorThierry Vignaud <thierry.vignaud@gmail.com>2016-07-04 16:43:01 +0200
committerThierry Vignaud <thierry.vignaud@gmail.com>2016-07-04 16:46:00 +0200
commit1f8f60631b6dd0f12dd24b993b9961814f734fc6 (patch)
tree66a7f07cd5e8099b51f8d81d8ee31cc7c0a2755b /perl-install/diskdrake
parentef6f00d56d393d45a77657e85c8cc905f88b5477 (diff)
downloaddrakx-1f8f60631b6dd0f12dd24b993b9961814f734fc6.tar
drakx-1f8f60631b6dd0f12dd24b993b9961814f734fc6.tar.gz
drakx-1f8f60631b6dd0f12dd24b993b9961814f734fc6.tar.bz2
drakx-1f8f60631b6dd0f12dd24b993b9961814f734fc6.tar.xz
drakx-1f8f60631b6dd0f12dd24b993b9961814f734fc6.zip
factorize bad block checks
also enable bad blocks checking on JFS (was in one place but not in other and indeed mkfs.jfs does support it)
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index edf2c4215..1aecd48af 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -1303,7 +1303,7 @@ sub format_ {
sub _format_raw {
my ($in, $part, $all_hds, $o_skip) = @_;
- if ($::expert && !member($part->{fs_type}, qw(btrfs hfs ntfs ntfs-3g reiserfs xfs))) {
+ if ($::expert && isBlockCheckable($part)) {
$part->{toFormatCheck} = $in->ask_yesorno(N("Confirmation"), N("Check for bad blocks?"));
}
$part->{isFormatted} = 0; #- force format;