From 4b55e527e5fc5b5c212b49faab1cf3b641f0e1f6 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Wed, 28 Jul 2004 03:47:30 +0000 Subject: explain why we set toFormatUnsure --- perl-install/install_steps.pm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'perl-install/install_steps.pm') diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 6cef62347..8ee2cceef 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -268,7 +268,10 @@ sub choosePartitionsToFormat($$) { if (!$_->{toFormat}) { my $fs_type = fs::type::fs_type_from_magic($_); - $_->{toFormatUnsure} ||= !$fs_type || $fs_type ne $_->{fs_type}; + if (!$fs_type || $fs_type ne $_->{fs_type}) { + log::l("setting toFormatUnsure for $_->{device} because <$_->{fs_type}> ne <$fs_type>"); + $_->{toFormatUnsure} = 1; + } } } } -- cgit v1.2.1