Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to see mounted files via explorer.exe #8538

Closed
1 of 2 tasks
androiddisk opened this issue Jun 22, 2022 · 2 comments
Closed
1 of 2 tasks

Unable to see mounted files via explorer.exe #8538

androiddisk opened this issue Jun 22, 2022 · 2 comments

Comments

@androiddisk
Copy link

Version

Microsoft Windows [版本 10.0.22621.160]

WSL Version

  • WSL 2
  • WSL 1

Kernel Version

5.10.102.1

Distro Version

No response

Other Software

No response

Repro Steps

My problems and #7834 Like the problems encountered, the problem description is directly copied. According to the search, it is caused by the namespace. But I don't know how to solve it

In Windows Terminal (wsl env), I used sshfs to mount the home directory of my dev server into wsl:
sshfs -d -o allow_other ryan@10.x.x.x:/home/ryan /ryan_server/ -o nonempty,reconnect,identityfile=/.ssh/id_rsa

After cmd succeeded, I was able to see the content via bash cmd, like ls -al

But still, I cannot find anything via explorer.exe in Windows;

Expected Behavior

What the resource manager can see should be consistent with bash CMD

Actual Behavior

Nothing shown.

Here is another try that might help to locate the root cause:

I copied a file from windows into the empty directory, it can be found in explorer.exe, but cannot be found in the mounted directory via terminal;
But after un-mounted, the copied file shows up in terminal;
Hence, I suspect that my Windows cannot correctly recognize mount point, but treat them as ordinary directory.

Diagnostic Logs

No response

@ghost
Copy link

ghost commented Jun 28, 2022

Duplicate of #7834

@ghost ghost marked this as a duplicate of #7834 Jun 28, 2022
@ghost ghost closed this as completed Jun 28, 2022
@androiddisk
Copy link
Author

Reference in new i

#7834的副本

Duplicate of #7834

Why close? #7834 Didn't say how to solve it

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant