summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-08-14 09:52:30 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-08-14 09:52:30 +0000
commit095b00c20229ae1ebc6d7a76854c033486a7f132 (patch)
treeea0425f8c282e0f7ea2d56c0a4b1bf36156f8fca /perl-install/fs
parent97b738004879841701f9d7f6e34b047c811809f4 (diff)
downloaddrakx-backup-do-not-use-095b00c20229ae1ebc6d7a76854c033486a7f132.tar
drakx-backup-do-not-use-095b00c20229ae1ebc6d7a76854c033486a7f132.tar.gz
drakx-backup-do-not-use-095b00c20229ae1ebc6d7a76854c033486a7f132.tar.bz2
drakx-backup-do-not-use-095b00c20229ae1ebc6d7a76854c033486a7f132.tar.xz
drakx-backup-do-not-use-095b00c20229ae1ebc6d7a76854c033486a7f132.zip
- diskdrake:
o in fstab, have "xxx" instead of "defaults,xxx"
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/mount_options.pm4
1 files changed, 3 insertions, 1 deletions
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;