summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/fs.pm4
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index 71bde1772..8b5596c8d 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -8,6 +8,7 @@
- localdrake/finish-install:
o fix reading default input method setting
- list ath9k, rt2860, rt2870 and rtl8187se in wireless modules category
+- remove extents options on ext4 when updating fstab
Version 11.91 - 25 February 2009
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,