summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/partitioning.pm
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/fs/partitioning.pm
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/fs/partitioning.pm')
-rw-r--r--perl-install/fs/partitioning.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/fs/partitioning.pm b/perl-install/fs/partitioning.pm
index 27b5220c9..b93d146b2 100644
--- a/perl-install/fs/partitioning.pm
+++ b/perl-install/fs/partitioning.pm
@@ -52,7 +52,7 @@ sub choose_partitions_to_format {
({
text => partition_table::description($e), type => 'bool',
val => \$e->{toFormatTmp}
- }, if_(!isLoopback($_) && !member($_->{fs_type}, qw(btrfs jfs reiserfs xfs)), {
+ }, if_(!isLoopback($_) && isBlockCheckable($_), {
text => partition_table::description($e), type => 'bool', advanced => 1,
disabled => sub { !$e->{toFormatTmp} },
val => \$e->{toFormatCheck}