summaryrefslogtreecommitdiffstats
path: root/perl-install/fs
diff options
context:
space:
mode:
authorAurélien Lefebvre <alefebvre@mandriva.com>2009-08-17 12:47:33 +0000
committerAurélien Lefebvre <alefebvre@mandriva.com>2009-08-17 12:47:33 +0000
commit20b45a155458c3714496a1ffa6a87201140d76d5 (patch)
tree124cb6aa8860a3af054eef870654d1e65b05a08e /perl-install/fs
parent37840927cc9d8066c59cce7de5c3880c5d335310 (diff)
downloaddrakx-20b45a155458c3714496a1ffa6a87201140d76d5.tar
drakx-20b45a155458c3714496a1ffa6a87201140d76d5.tar.gz
drakx-20b45a155458c3714496a1ffa6a87201140d76d5.tar.bz2
drakx-20b45a155458c3714496a1ffa6a87201140d76d5.tar.xz
drakx-20b45a155458c3714496a1ffa6a87201140d76d5.zip
- diskdrake : never pass username/password as options with davfs2
Diffstat (limited to 'perl-install/fs')
-rw-r--r--perl-install/fs/mount.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/fs/mount.pm b/perl-install/fs/mount.pm
index a3c6d3a28..3e2d36938 100644
--- a/perl-install/fs/mount.pm
+++ b/perl-install/fs/mount.pm
@@ -72,6 +72,9 @@ sub mount {
fsck_jfs($dev, $o_wait_message);
} elsif ($fs eq 'ext2' && !$b_rdonly) {
fsck_ext2($dev, $o_wait_message);
+ } elsif ($fs eq 'davfs2') {
+ # username and password options should be handled by /etc/davfs2/secrets file
+ @mount_opt = grep { !/^(username|password)=/ } @mount_opt;
}
push @mount_opt, 'ro' if $b_rdonly;