summaryrefslogtreecommitdiffstats
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
parentc9e76bf90d146d960f9db6869b649359c872f4c2 (diff)
downloaddrakx-backup-do-not-use-31e05c086ad2f8799e7885364b65606c9f4bffb2.tar
drakx-backup-do-not-use-31e05c086ad2f8799e7885364b65606c9f4bffb2.tar.gz
drakx-backup-do-not-use-31e05c086ad2f8799e7885364b65606c9f4bffb2.tar.bz2
drakx-backup-do-not-use-31e05c086ad2f8799e7885364b65606c9f4bffb2.tar.xz
drakx-backup-do-not-use-31e05c086ad2f8799e7885364b65606c9f4bffb2.zip
installation mount points: reset unknown partitions types to default fs (ext4) instead of hardcoded ext3
-rw-r--r--perl-install/NEWS3
-rw-r--r--perl-install/fs/mount_point.pm4
-rw-r--r--perl-install/install/NEWS3
3 files changed, 8 insertions, 2 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 3de8eff55..73caabd5f 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -1,3 +1,6 @@
+- installation mount points: reset unknown partitions types to default
+ fs (ext4) instead of hardcoded ext3
+
Version 13.2 - 14 December 2009
- fix creating devices
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;
}
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS
index 3e2094f92..aa8c729a0 100644
--- a/perl-install/install/NEWS
+++ b/perl-install/install/NEWS
@@ -1,3 +1,6 @@
+- mount points: reset unknown partitions types to default
+ fs (ext4) instead of hardcoded ext3
+
Version 13.2 - 14 December 2009
- fix creating devices