summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2000-08-30 17:20:24 +0000
committerPascal Rigaux <pixel@mandriva.com>2000-08-30 17:20:24 +0000
commit18aaa8cd39e680fc54116128c24469f7afadb78d (patch)
tree0eadc07e4baaf0908acc03f8e2d5a5a8eb723c22 /perl-install/fs.pm
parentef3718f16c93ed0ac9ea6da7bc22730a21bf2c23 (diff)
downloaddrakx-18aaa8cd39e680fc54116128c24469f7afadb78d.tar
drakx-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.gz
drakx-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.bz2
drakx-18aaa8cd39e680fc54116128c24469f7afadb78d.tar.xz
drakx-18aaa8cd39e680fc54116128c24469f7afadb78d.zip
no_comment
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm4
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}");
}
}
}