theochino / win-sshfs

Automatically exported from code.google.com/p/win-sshfs
0 stars 0 forks source link

Mounting 2 different hosts doesn't work #19

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Add 2 different hosts with the same directory (/web).
2. Mount the 2 FSs at the same time

What is the expected output? What do you see instead?
The both drives contain the file system if the one that is mounted first, and 
the other is not mounted at all

What version of the product are you using?

win-sshfs: 0.0.1.5
Client OS: Windows XP 32bit SP3
Server OS: CentOS 5.7
Ssh server: openssh 4.3

Please provide any additional information below.
I'm not sure that the fact that directory is the same for both hosts has 
anything to do with it. I'm just giving 1:1 steps to repeat the problem

Original issue reported on code.google.com by nicks...@gmail.com on 24 Jun 2012 at 9:02

GoogleCodeExporter commented 8 years ago
I don't have access to my build environment but I this this will help.

Original comment by mladenov...@gmail.com on 25 Jun 2012 at 3:50

Attachments:

GoogleCodeExporter commented 8 years ago
This is a serious issue.

Original comment by evoshr...@gmail.com on 18 Jan 2013 at 11:22

GoogleCodeExporter commented 8 years ago
However, this new EXE does work.  If you still don't have access to your build 
environment, I'm about to try to build it and make a command-line version.  If 
I succeed and you want a copy for your site (or want an updated compile) let me 
know.

Original comment by evoshr...@gmail.com on 18 Jan 2013 at 11:29

GoogleCodeExporter commented 8 years ago
Oh my, this wasn't fixed in the code.  Can you please share the code to fix 
this issue?

Original comment by evoshr...@gmail.com on 20 Jan 2013 at 1:53

GoogleCodeExporter commented 8 years ago
i think problem is:
private readonly MemoryCache _cache = MemoryCache.Default;
...
_cache.Add(path, 

Cache is shared. Caching key must be created more uniqly like:
_cache.Add(path+_volumeLabel,...

Original comment by martin.d...@gmail.com on 25 Jul 2014 at 7:45