Comments (4)
For example in you example drive Y : "billz@macbook-pro (\sshfs) (Y:)"
When I rename it only 11 characteristics are allowed. This is strange since the original name is longer than 11.
Interesting indeed, especially because SSHFS and WinFsp are not really involved in this process (when SSHFS is mounted as a network drive); it happens all in the Windows shell.
I think the reason may be because the Windows shell is confused about what kind of file system is mounted: SSHFS reports that the file system name is FUSE-SSHFS
. Explorer knows about NTFS
, FAT
and a few other file systems. When it sees a file system it does not know, it assumes that it has the same limits as FAT. FAT has a limit of 11 characters per volume label, which probably confuses Explorer.
These names are kept in the Windows registry. I was able to create a longer than 11 characters name by editing the registry:
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\MountPoints2\##sshfs#billziss@macbook-pro]
"_LabelFromDesktopINI"=""
"_LabelFromReg"="1234567890123456"
This is not ideal, but it appears to overcome Explorer's confusion about the file system's identity.
from sshfs-win.
@DutchKillerbee are you saying that disconnect does not work even though you do not have Dokany installed? I have never seen this but there maybe another "network provider" other than Dokany that interferes with WinFsp. The advice of putting WinFsp first in the provider order is still valid. Try it and see if it works.
Can you elaborate what you mean by "rename the connection" in Explorer? Please post steps to reproduce.
from sshfs-win.
@billziss-gh
Sorry I was not clear but my disconnect problem is solved.
I was using dokany. I simply changed the Network provider "priority"
Regarding the rename issue:
When you right click in explore on your just created network connection there is an menu option to rename it.
For example in you example drive Y : "billz@macbook-pro (\sshfs) (Y:)"
When I rename it only 11 characteristics are allowed. This is strange since the original name is longer than 11.
from sshfs-win.
@billziss-gh
Thanks for your feedback.
from sshfs-win.
Related Issues (20)
- Complain about the painful prefix setting HOT 1
- Async fs?
- How can i change a sshfs mapped drive letter? HOT 1
- Problem with SSHFS to Couchdrop HOT 1
- Can not delete drive with net use <drive>: /d HOT 1
- Slow autocompletion in cygwin bash / enabling directory ls caching
- Errors running executables: 0x800704b3 and ShellExecuteExfailed; code1203
- Setup Instructions for noobs / SSH for dummies
- Offline files do not work
- using ssh private key to create connection doesnt happen by default HOT 1
- Can't connect to host HOT 1
- Unable to connect, unable to stop the attempt to connect, and unable to edit/modify connection params HOT 1
- How to prevent a connection timeout (solution for reference) HOT 4
- Impossible to connect - Connection reset by peer HOT 1
- The token '&&' is not a valid statement separator in this version.
- "sshfs" version is too old. Please update to at least version 3.5.2
- Can't open fonts under Windows 10
- Why are the symbols in `fuse3/fuse.h` prefixed with fuse3? HOT 1
- how to specify `ssh_command` in order to prevent it from reading ssh config?
- cannot track login/logout activities of ssh-win on server side
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sshfs-win.