summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/fs/mount_options.pm4
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS
index c120aaa3c..9d30deb37 100644
--- a/perl-install/NEWS
+++ b/perl-install/NEWS
@@ -4,6 +4,7 @@
- diskdrake:
o add support for 'relatime' mount option
o kill support for 'nodiratime' mount option
+ o in fstab, have "xxx" instead of "defaults,xxx"
Version 10.4.167 - 11 August 2007, by Thierry Vignaud
diff --git a/perl-install/fs/mount_options.pm b/perl-install/fs/mount_options.pm
index 3bec94ab9..8c88607bf 100644
--- a/perl-install/fs/mount_options.pm
+++ b/perl-install/fs/mount_options.pm
@@ -48,7 +48,9 @@ sub unpack {
my %options = map { $_ => '' } keys %$non_defaults;
my @unknown;
foreach (split(",", $packed_options)) {
- if (member($_, 'user', 'users')) {
+ if ($_ eq 'defaults') {
+ #- skip
+ } elsif (member($_, 'user', 'users')) {
$options{$_} = 1 foreach $_, @$user_implies;
} elsif (exists $non_defaults->{$_}) {
$options{$_} = 1;