summaryrefslogtreecommitdiffstats
path: root/perl-install/diskdrake
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2009-10-07 09:48:03 +0000
committerPascal Terjan <pterjan@mandriva.org>2009-10-07 09:48:03 +0000
commitdd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3 (patch)
tree637e40c85752c76c9af8d63c61e0eb3e1fbe235f /perl-install/diskdrake
parent4b06a8a57d52b7d5447a1b487b8d33e36b4121b7 (diff)
downloaddrakx-backup-do-not-use-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.tar
drakx-backup-do-not-use-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.tar.gz
drakx-backup-do-not-use-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.tar.bz2
drakx-backup-do-not-use-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.tar.xz
drakx-backup-do-not-use-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.zip
- factorize default FS definition
- switch to ext4 by default
Diffstat (limited to 'perl-install/diskdrake')
-rw-r--r--perl-install/diskdrake/interactive.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/diskdrake/interactive.pm b/perl-install/diskdrake/interactive.pm
index b37f9f4d5..acf372a18 100644
--- a/perl-install/diskdrake/interactive.pm
+++ b/perl-install/diskdrake/interactive.pm
@@ -465,7 +465,7 @@ sub Create {
$part->{mntpoint} = '' if !$do_suggest_mount_point;
} else {
$part->{size} = $part->{maxsize};
- fs::type::suggest_fs_type($part, 'ext3');
+ fs::type::suggest_fs_type($part, defaultFS());
}
if (isLVM($hd)) {
lvm::suggest_lv_name($hd, $part);
@@ -964,7 +964,7 @@ sub Loopback {
my $part = { maxsize => $max, size => 0, loopback_device => $real_part, notFormatted => 1 };
if (!fsedit::suggest_part($part, $all_hds)) {
$part->{size} = $part->{maxsize};
- fs::type::suggest_fs_type($part, 'ext3');
+ fs::type::suggest_fs_type($part, defaultFS());
}
delete $part->{mntpoint}; # we do not want the suggested mntpoint