From 095b00c20229ae1ebc6d7a76854c033486a7f132 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 14 Aug 2007 09:52:30 +0000 Subject: - diskdrake: o in fstab, have "xxx" instead of "defaults,xxx" --- perl-install/fs/mount_options.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install/fs/mount_options.pm') 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; -- cgit v1.2.1