News for hackers. Stuff that matters.
Re:Dokany – User mode file system library for windows with F... by voltagex_ on Wednesday September 21, 2016 @11:44PM (#12554164)
This is a fantastic project. FWIW, Paragon's extfs for Windows uses either Dokany or the original Dokan, so at least one company thought this was good enough to use in production.

I'll just point out for anyone interested in trying this, expect BSODs: https://github.com/dokan-dev/dokany/issues/344.

I'm also not sure how the Win10 Anniversary driver signing changes have affected the project - they're relying on a commercial sponsor for the signed releases.

Alternative: https://github.com/billziss-gh/winfsp

Paid alternative: https://www.eldos.com/cbfs/

There have also been a number of other discussions here, but I should get back to work instead of digging those up.

Re:Dokany – User mode file system library for windows with F... by didulive on Thursday September 22, 2016 @03:26AM (#12555111)
All issue BSOD reported during the 9 months of testing of this version has been fixed (4 release candidate was made). Latest release candidate was already used on products. But it is still recommended using virtual machine when developing your file system in case of.
Re:Dokany – User mode file system library for windows with F... by voltagex_ on Thursday September 22, 2016 @03:38AM (#12555161)
I don't doubt you've made lots of fixes, but what about the issue I linked above? That's probably a case of an AV filter driver doing something silly, but still.
Re:Dokany – User mode file system library for windows with F... by didulive on Thursday September 22, 2016 @03:45AM (#12555201)
Yes, AV are rude with drivers. :( We fixed symantec and another AV during the process. We will look into it !
Re:Dokany – User mode file system library for windows with F... by billziss on Thursday September 22, 2016 @04:06AM (#12555300)
I am the author of WinFsp. Thanks for mentioning it.

WinFsp properly supports the filter manager, which means that AV filters should work without problems.

Re:Dokany – User mode file system library for windows with F... by didulive on Thursday September 22, 2016 @05:00AM (#12555510)
Like dokan before it was tested :wink:
Re:Dokany – User mode file system library for windows with F... by billziss on Thursday September 22, 2016 @12:51PM (#12558188)
I am not sure what that means.

Dokan calls IoRegisterFileSystem on disk file systems, but does not appear to do so on network file systems. FsRtlRegisterUncProvider is the pre-Vista MUP and does not do it for you.

WinFsp has multiple integrated test suites, some of which Dokany uses (with tests missing/disabled). It also has hundreds of users at this point.

Re:Dokany – User mode file system library for windows with F... by Maxhy on Friday September 23, 2016 @01:46AM (#12562583)
"WinFsp has multiple integrated test suites, some of which Dokany uses (with tests missing/disabled)." > really? I'm generally quiet and let Liryna talking but your thread hijacking to promote your product each time there is an official Dokan publication start to be annoying. This test suite was one of your contribution on Dokany before you stopped being involved on the project so of course we are... (it will soon be replaced by another test suite btw). Anyway, let's stop the argument here...
Re:Dokany – User mode file system library for windows with F... by billziss on Friday September 23, 2016 @01:05PM (#12566151)
Maxhy, I understand that you are annoyed. Please recall that:

1. The only Dokany thread that I have explicitly mentioned WinFsp is this one (and only after someone else mentioned it). I avoided doing so on your Reddit thread, for example. You may consider that my original message to the Dokany mailing list was promotion, but from my perspective at least it was simply a message to like minded people.

2. That until Lyrina's message(s) in cygwin-apps, where she effectively sabotaged my ITP submission, I was willing to work with Dokany and I said so in a message to the Dokany list.

The truth is that until that ITP submission point I was not bothering anyone and was just working on my project. The only two times that I made comments on Dokany vs WinFsp was when I was explicitly asked: one time by you on the Dokany list and one time on Reddit in WinFsp's own promotion thread.

So I agree with you: let's stop the arguments here. I am willing to stop hijacking threads or trying to sabotage your project's progress. However I also want Dokany to stop insinuating that WinFsp is not being tested (where my argument about the test suites stems from) or sabotage WinFsp's progress.

Bill

Re:Dokany – User mode file system library for windows with F... by swiley on Thursday September 22, 2016 @12:36AM (#12554389)
>expect BSODS

I wrote a (unreleased I believe) filesystem with this a couple years ago and my machine would reliably BSOD every time Windows tried to do the mandatory automatic updates. My friends say you can disable that but I haven't used Windows often enough since then for it to be a problem.

Re:Dokany – User mode file system library for windows with F... by didulive on Thursday September 22, 2016 @03:27AM (#12555115)
Dokany is a fork of legacy dokan abandonned by the creator. It has a lots of changes and fix since you tested !
Re:Dokany – User mode file system library for windows with F... by sp332 on Thursday September 22, 2016 @10:21AM (#12556947)
Why would a user-space file system driver cause BSOD?
Re:Dokany – User mode file system library for windows with F... by cjbprime on Thursday September 22, 2016 @10:56AM (#12557217)
As I understand it, the BSODs happened when virus scanners hit a Dokany FS. Interaction between two different hooks into the kernel's FS layer, I guess.
Re:Dokany – User mode file system library for windows with F... by voltagex_ on Thursday September 22, 2016 @06:41PM (#12560945)
There's a kernel-mode component here too - Dokan.sys I think. It's the equivalent to fuse.ko. I imagine a bug in FUSE could cause a kernel panic as well.