summaryrefslogtreecommitdiffstats
path: root/perl-install/fs.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/fs.pm')
-rw-r--r--perl-install/fs.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index d95890cb3..61947c0a8 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -72,6 +72,10 @@ sub read_fstab {
}
s/\\040/ /g foreach $mntpoint, $dev, $options;
+ if ($fs_type eq 'ext4') {
+ $options = join(",", grep { !/extents/ } split(',', $options)) || 'defaults';
+ }
+
my $h = {
mntpoint => $mntpoint, fs_type => $fs_type,
options => $options, comment => $comment,