-
Notifications
You must be signed in to change notification settings - Fork 683
Symbolic link support #343
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
Comments
symlinks in Windows are implemented by the filesystem code as reparse points, which require Fsctl implementation. Dokany doesn't yet support Fsctl dispatch, and as a result Dokany doesn't yet support reparse points. Here's the documentation I've been able to find about this, on the Windows side. ####Fsctls required ####Structures ####Microsoft Open Standards |
Are there any plans to support symlinks in Dokany? The driver-side handles the Fsctl events but none of them are forwarded to userland code. If there are no plans, what would an ideal implementation look like? I understand that these are the only 3 Fsctl events that we would need to forward to userland code to get this working, so would it be preferred to have 3 specific userland callback functions for them? Otherwise, if there a need for Dokany to forward other Fsctl events (either now or in the future) would it instead be preferred to have something that generically allows for handling any Fsctl event in userland code? |
We are not currently planning to implement this feature in the near future but I am happy to review pull requests!
I would think we could have only one userland event sent that has the
This is also a way it could be implemented but maybe might be more complex to be implemented by userland FS ? At least reparse point is a more well-known fsctl compared to others that could be received. |
Environment
Check List
Description
Is symbolic link creation support implemented for Dokany FUSE?
I looked through the fusemain.cpp source code but didn't notice where ops_.symlink is being called, and when I run a mklink request on the command line for encfs4win, my symlink function is never triggered.
From what I can tell (here), mklink is triggering create_file, which doesn't appear to trigger ops_.symlink anywhere.
Logs
mklink Z:\b.txt Z:\x\a.txt
The text was updated successfully, but these errors were encountered: