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

Enumerate Alternative Streams #48

Closed
Maxhy opened this issue Aug 29, 2015 · 2 comments
Closed

Enumerate Alternative Streams #48

Maxhy opened this issue Aug 29, 2015 · 2 comments

Comments

@Maxhy
Copy link
Member

Maxhy commented Aug 29, 2015

Alternative Streams are supported on Dokan but not their enumeration.
This is originally reported on https://code.google.com/p/dokan/issues/detail?id=290 and https://code.google.com/p/dokan/issues/detail?id=56

We should create a new routine on DokanOperations to pass the request to user FS and handle it properly.

@Maxhy
Copy link
Member Author

Maxhy commented Aug 29, 2015

I just added it with a new EnumerateNamedStreams callback on DokanOperations (because of that next Dokan release will be 0.8.0).

mirror.c sample was updated to implement this callback as an example.
You can easily try with mirror.c using the following DOS commands on your volume:

echo test1>>myfile.txt:stream1
echo test2>>myfile.txt:stream2
dir /r
type myfile.txt:stream2

Do not forget to set DOKAN_OPTION_ALT_STREAM on DokanOptions to enable alternative stream on your FS.

@kenjiuno
Copy link

Hi.

I'll see the changes, when the next release will be launched!

@Maxhy Maxhy mentioned this issue Jan 8, 2016
5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants