diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2001-09-15 23:56:41 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2001-09-15 23:56:41 +0000 |
commit | f0b716db25c11450240db35a17c62dc930115f35 (patch) | |
tree | 909b524b56664998749f9db10506f9f0f0a66393 | |
parent | 8a61104563fcfbe206be8d62c9edf75fc2fd69b1 (diff) | |
download | drakx-f0b716db25c11450240db35a17c62dc930115f35.tar drakx-f0b716db25c11450240db35a17c62dc930115f35.tar.gz drakx-f0b716db25c11450240db35a17c62dc930115f35.tar.bz2 drakx-f0b716db25c11450240db35a17c62dc930115f35.tar.xz drakx-f0b716db25c11450240db35a17c62dc930115f35.zip |
fix options appearing twice in fstab
-rw-r--r-- | perl-install/fs.pm | 3 |
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 { |