From dd962c22f7e02d9bbcc7f62c515d4c2ab7b1fdf3 Mon Sep 17 00:00:00 2001 From: Pascal Terjan Date: Wed, 7 Oct 2009 09:48:03 +0000 Subject: - factorize default FS definition - switch to ext4 by default --- perl-install/raid.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/raid.pm') 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)); -- cgit v1.2.1