summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-09-15 23:56:41 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-09-15 23:56:41 +0000
commitf0b716db25c11450240db35a17c62dc930115f35 (patch)
tree909b524b56664998749f9db10506f9f0f0a66393 /perl-install
parent8a61104563fcfbe206be8d62c9edf75fc2fd69b1 (diff)
downloaddrakx-backup-do-not-use-f0b716db25c11450240db35a17c62dc930115f35.tar
drakx-backup-do-not-use-f0b716db25c11450240db35a17c62dc930115f35.tar.gz
drakx-backup-do-not-use-f0b716db25c11450240db35a17c62dc930115f35.tar.bz2
drakx-backup-do-not-use-f0b716db25c11450240db35a17c62dc930115f35.tar.xz
drakx-backup-do-not-use-f0b716db25c11450240db35a17c62dc930115f35.zip
fix options appearing twice in fstab
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/fs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/fs.pm b/perl-install/fs.pm
index ecba77b87..6df2b3005 100644
--- a/perl-install/fs.pm
+++ b/perl-install/fs.pm
@@ -218,6 +218,7 @@ sub mount_options_unpack {
vfat => [ qw(umask=0) ],
nfs => [ qw(rsize=8192 wsize=8192) ],
smbfs => [ qw(username= password=) ],
+ reiserfs => [ 'notail' ],
);
while (my ($fs, $l) = each %per_fs) {
isThisFs($fs, $part) || $part->{type} eq 'auto' && member($fs, @auto_fs) or next;
@@ -268,7 +269,7 @@ sub mount_options_pack {
push @l, map_each { if_($::b, $::a =~ /=$/ ? "$::a$::b" : $::a) } %$options;
push @l, $unknown;
- $part->{options} = join(",", grep { $_ } @l);
+ $part->{options} = join(",", uniq(grep { $_ } @l));
}
sub mount_options_help {