diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-07-28 03:47:30 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-07-28 03:47:30 +0000 |
commit | 4b55e527e5fc5b5c212b49faab1cf3b641f0e1f6 (patch) | |
tree | c69eeb4ad4af15e18016a2e1142a26b0d6856f0a /perl-install | |
parent | ed67e344d2a38daa19f11e8023f47a6b64b2f9d7 (diff) | |
download | drakx-4b55e527e5fc5b5c212b49faab1cf3b641f0e1f6.tar drakx-4b55e527e5fc5b5c212b49faab1cf3b641f0e1f6.tar.gz drakx-4b55e527e5fc5b5c212b49faab1cf3b641f0e1f6.tar.bz2 drakx-4b55e527e5fc5b5c212b49faab1cf3b641f0e1f6.tar.xz drakx-4b55e527e5fc5b5c212b49faab1cf3b641f0e1f6.zip |
explain why we set toFormatUnsure
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install_steps.pm | 5 |
1 files changed, 4 insertions, 1 deletions
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; + } } } } |