summaryrefslogtreecommitdiffstats
path: root/perl-install/raid.pm
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/raid.pm
parent4b06a8a57d52b7d5447a1b487b8d33e36b4121b7 (diff)
downloaddrakx-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.tar
drakx-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.tar.gz
drakx-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.tar.bz2
drakx-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.tar.xz
drakx-dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3.zip
- factorize default FS definition
- switch to ext4 by default
Diffstat (limited to 'perl-install/raid.pm')
-rw-r--r--perl-install/raid.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/raid.pm b/perl-install/raid.pm
index e681a4649..93ec9748e 100644
--- a/perl-install/raid.pm
+++ b/perl-install/raid.pm
@@ -24,7 +24,7 @@ sub new {
my ($raids, %opts) = @_;
my $md_part = { %opts };
add2hash_($md_part, { 'chunk-size' => '64', disks => [],
- fs_type => 'ext3',
+ fs_type => defaultFS(),
device => first(free_mds($raids)),
notFormatted => 1, level => 1 });
push @$raids, $md_part;
@@ -229,7 +229,7 @@ sub get_existing {
if ($type) {
put_in_hash($md_part, $type);
} else {
- fs::type::set_fs_type($md_part, 'ext3');
+ fs::type::set_fs_type($md_part, defaultFS());
}
my $fs_type = $type && $type->{fs_type};
fs::type::set_isFormatted($md_part, to_bool($fs_type));