projects
/
webmin.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec83351
)
tmpfs can be mounted more than once
author
Jamie Cameron
<jcameron@webmin.com>
Sun, 16 Aug 2009 18:04:11 +0000
(11:04 -0700)
committer
Jamie Cameron
<jcameron@webmin.com>
Sun, 16 Aug 2009 18:04:11 +0000
(11:04 -0700)
mount/linux-lib.pl
patch
|
blob
|
history
diff --git
a/mount/linux-lib.pl
b/mount/linux-lib.pl
index
d009ad2
..
2a38303
100755
(executable)
--- a/
mount/linux-lib.pl
+++ b/
mount/linux-lib.pl
@@
-955,8
+955,8
@@
return $config{long_fstypes} && $fsmap{$_[0]} ? $fsmap{$_[0]} : uc($_[0]);
# Returns 1 if filesystems of this type can be mounted multiple times, 0 if not
sub multiple_mount
{
-return ($_[0] eq "nfs" || $_[0] eq "nfs4" || $_[0] eq "auto" ||
$_[0] eq "autofs" ||
- $_[0] eq "
bind
");
+return ($_[0] eq "nfs" || $_[0] eq "nfs4" || $_[0] eq "auto" ||
+ $_[0] eq "
autofs" || $_[0] eq "bind" || $_[0] eq "tmpfs
");
}