summaryrefslogtreecommitdiffstats
path: root/perl-install/fs/mount_point.pm
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2009-12-15 18:58:44 +0000
committerOlivier Blin <oblin@mandriva.com>2009-12-15 18:58:44 +0000
commit31e05c086ad2f8799e7885364b65606c9f4bffb2 (patch)
treeb9215b90a132f9876e7a48cdb276e16ab3ebaf8d /perl-install/fs/mount_point.pm
parentc9e76bf90d146d960f9db6869b649359c872f4c2 (diff)
downloaddrakx-31e05c086ad2f8799e7885364b65606c9f4bffb2.tar
drakx-31e05c086ad2f8799e7885364b65606c9f4bffb2.tar.gz
drakx-31e05c086ad2f8799e7885364b65606c9f4bffb2.tar.bz2
drakx-31e05c086ad2f8799e7885364b65606c9f4bffb2.tar.xz
drakx-31e05c086ad2f8799e7885364b65606c9f4bffb2.zip
installation mount points: reset unknown partitions types to default fs (ext4) instead of hardcoded ext3
Diffstat (limited to 'perl-install/fs/mount_point.pm')
-rw-r--r--perl-install/fs/mount_point.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/fs/mount_point.pm b/perl-install/fs/mount_point.pm
index dc1da482c..e1a09d934 100644
--- a/perl-install/fs/mount_point.pm
+++ b/perl-install/fs/mount_point.pm
@@ -80,8 +80,8 @@ sub validate_mount_points {
$m{$m} and die N("Duplicate mount point %s", $m);
$m{$m} = 1;
- #- in case the type does not correspond, force it to ext3
- fs::type::set_fs_type($_, 'ext3') if !isTrueFS($_) && !isOtherAvailableFS($_);
+ #- in case the type does not correspond, force it to default fs (ext4 currently)
+ fs::type::set_fs_type($_, defaultFS()) if !isTrueFS($_) && !isOtherAvailableFS($_);
}
1;
}