diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2000-08-30 17:20:24 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2000-08-30 17:20:24 +0000 |
commit | 18aaa8cd39e680fc54116128c24469f7afadb78d (patch) | |
tree | 0eadc07e4baaf0908acc03f8e2d5a5a8eb723c22 /perl-install/fs.pm | |
parent | ef3718f16c93ed0ac9ea6da7bc22730a21bf2c23 (diff) | |
download | drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.tar drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.gz drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.bz2 drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.xz drakx-backup-do-not-use-18aaa8cd39e680fc54116128c24469f7afadb78d.zip |
no_comment
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r-- | perl-install/fs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm index bbef90222..2bf151c32 100644 --- a/perl-install/fs.pm +++ b/perl-install/fs.pm @@ -66,10 +66,10 @@ sub get_mntpoints_from_fstab { foreach (read_fstab("$prefix/etc/fstab")) { foreach my $p (@$fstab) { $p->{device} eq $_->{device} or next; + $_->{type} ne 'auto' && $_->{type} ne type2fs($p->{type}) and + log::l("err, fstab and partition table do not agree for $_->{device} type: " . (type2fs($p->{type}) || type2name($p->{type})) . " vs $_->{type}"), next; $p->{mntpoint} ||= $_->{mntpoint}; $p->{options} ||= $_->{options}; - $_->{type} ne 'auto' && $_->{type} ne type2fs($p->{type}) and - log::l("err, fstab and partition table do not agree for $_->{device} type: " . (type2fs($p->{type}) || type2name($p->{type})) . " vs $_->{type}"); } } } |