Dokan

user mode file system for windows    >>Japanese version

Dokan library 0.3.6 released

July 20th, 2008 in Dokan

Dokan library 0.3.6 is released.

Dokan library is a user mode file system library for Windows.
This version has many improvements from previous version. Now you can use Dokan library without administrator privilege!

Changes from 0.3.4
- Not required Administrator privilege
- Fixed xcopy issue
- Fixed file deletion issue
- Fixed FILE_NO_MORE_FILES issue
- Fixed BSOD while IO canceling
- Supported Windows 2000 (please compile libraries yourself)

Thanks for many suggestions.

28 Responses to “Dokan library 0.3.6 released”

  • Michael
    July 20th, 2008 at 9:25 pm

    Hello Hiroki!

    I’ve just tested this brand new version of Dokan.

    It’s strange, but deletion issue is still alive (at least, in my case). But now first few (2-3) deletions are performing ok, and next ones are going with errors.

    Also, please tell me, have you tried to run any .exe file from your FS driver? My XP (in VirtualBox) tries to run the executable, but it’s process hangs up and a zombie appears in system.

    Thanks for keep working, please go on!

  • CPU Killer
    July 21st, 2008 at 10:04 am

    I just tried compiling the latest version and when I run build /wcbg in the subdirectories I get this error:

    c:\winddk\6001.18001\bin\makefile.new(7040) : error U1087: cannot have : and :: dependents for same target

    I’m using the latest WDK as of this date and have tried building under XP x86 Free and Windows Server 2003 x64 Free and both have the same error.

  • Hiroki
    July 21st, 2008 at 4:14 pm

    Hello, CPU Killer

    When you use WDK version 6001.18001, you see many errors like
    src\dokan\fileinfo.h(465) : warning C4005: ‘STATUS_INVALID_PARAMETER’ : macro redefinition
    You can just comment out the above line.
    And another issue, in each “sources” file, there is a line
    LINKLIBS=..\dokan\objchk_wxp_x86\i386\dokan.lib
    You should change these lines to
    LINKLIBS=..\dokan\objfre_wxp_x86\i386\dokan.lib
    when you use free build environment.

    I couldn’t reproduce the same error as you. If you can’t compile above modifications, please copy & past commands and commands outputs.

  • CPU Killer
    July 21st, 2008 at 11:30 pm

    Ok, I found out about U1087 error, it was because there were spaces in the path (I had extracted the source on my desktop in a subfolder, but between my username and Documents and Settings those spaces messed it up, this is a problem with the WDK though and not your stuff).

    Thanks for the help though, I did need both of the things you mentioned to get it to compile. I also had to remove all the EXPORTS from the dokan .def file as it kept complaining about multiple definitions of those functions and erroring out.

    I built an XP x64 build too, so as soon as I get a VMWare image running we’ll see how x64-ready your code is :-) lol.

  • Hiroki
    July 22nd, 2008 at 12:45 am

    Hi, Michael

    File deletion issue was not yet fixed. What I fixed was only for directory deletion.

    > Also, please tell me, have you tried to run any .exe file from your
    > FS driver? My XP (in VirtualBox) tries to run the executable, but
    > it’s process hangs up and a zombie appears in system.

    In my environment, WinXP, I tried to copy NOTEPAD.exe and run from mirror fs. It worked fine.

    I’m not sure this is the same problem as you, but yokoba reported the file lock problem when launching exe file from mirror fs a few month ago.
    http://yukoba.accelart.jp/2008/05/windows-fuse-dokan-become-open-source.html
    http://accelart.jp/dokan/20080527/mirror.patch

  • Cyril
    July 22nd, 2008 at 6:48 pm

    Is there a way to add symbolic link support in SSHFS ?
    Maybe just for link on directory ?
    Maybe just treat them as regular file (temporary workaround) ?

    Do you know why file deletion doesn’t work ?

  • Federico
    July 23rd, 2008 at 5:53 pm

    There had been no proper native support for POSIX-like symlinks under Windows NT systems at least until Vista; of course, shortcut files (.lnk), hardlinks, and NTFS handles reparse points have been available for a long time - but they are _not_ the same thing -.

  • Hiroki
    July 23rd, 2008 at 10:41 pm

    Hello, Cyril

    I think I can add a feature that enables to traverse symbolic link in SSHFS. As Federico said, Windows XP has no symbolic support but in SSHFS, a symbolic link can be shown as a normal directory or file. But now I’m not sure this model works well. If it does, I add this feature to the next release of SSHFS.

    Thanks,

  • Hiroki
    July 23rd, 2008 at 10:44 pm

    I forgot file deletion issue. The issue is still under investigation.
    I don’t know why this happens.

  • CPU Killer
    July 25th, 2008 at 6:43 am

    Just FYI, after those changes I noted above it runs on XP x64 perfectly.

  • Johan
    July 29th, 2008 at 6:14 am

    CPU Killer,

    “Just FYI, after those changes I noted above it runs on XP x64 perfectly.”

    Have you tried to use the Dokan.NET wrapper with your code? If it works I wouldn’t mind getting a copy of your x64 binaries and some simple install instructions if you have some? :)

    I’m sitting on Vista x64 and I’d been toying the Idea of developing a .NET UMFS for Amazon S3.

    If you got something you could send me you can send it too me on jakerstrom at gmail.com.

  • Hiroki
    July 30th, 2008 at 11:44 pm

    Hello, Johan

    I have a plan to release 64 bit version of Dokan library within a few weeks.

  • MC
    August 1st, 2008 at 5:07 pm

    Hello,

    I’ve just tested the new version in my PC but there is something strange because the mounted hard disk driver of C: is not visible.
    It only appears when I want to save a document word. A workaround is to make an alias on the mounted hard disk (with command “subst w: n:\”) but it is not satisfied as there are 2 mounted hard disk driver of C:\
    Thanks for helping to solve the problem if you have an idea…

  • Hiroki
    August 1st, 2008 at 11:09 pm

    Hi, MC

    What did you try to use? Did you try Dokan Mirror sample?
    Dokan library restricts drive letters between “D” and “Z”.
    Could you tell me how to reproduce your problem?

  • SG
    August 3rd, 2008 at 8:24 am

    Is the library fuse-like or is it completely fuse compatible? Sorry but it isn’t clear from the description on about page.

  • Hiroki
    August 3rd, 2008 at 3:50 pm

    Hello, SG

    Dokan library uses Windows like API not Linux(or FUSE) like.
    You can find more details in http://dokan-dev.net/en/docs/dokan-readme/

  • SG
    August 3rd, 2008 at 4:14 pm

    I can understand why you would like to keep it windows like (its a windows library after all).

    But if you can make the interface fuse compatible, that would mean that all the filesystems already available for fuse can be ‘very’ easily ported to windows and it will also reduce in ‘half’ the development effort for someone maintaining a crossplatform filesystem. Just a thought.

    Keep up the good work.

  • BB
    August 3rd, 2008 at 5:36 pm

    Is the Dokan library Server 2003 compatible? I notice your MSIs target XP and Vista.

  • Hiroki
    August 3rd, 2008 at 6:03 pm

    Hello, BB

    Currently, Dokan library supports Windows XP and Vista 32bit.
    Dokan supports only Windows versions which I have.
    Brent told me about it works on server 2003, so I will release Dokan library for Windows server 2003 and also 64 bit versions.

  • BB
    August 3rd, 2008 at 7:12 pm

    Thank you for the quick response Hiroki. I look forward to the Server 2003 version.

  • BB
    August 5th, 2008 at 11:28 am

    Hi Hiroki,

    Do you have an estimated time frame for the 2003 release? I’m debating whether or not to install XP to move forward with my project. I’m porting a project from fuse quite easily but I’m not able to test it.

    Thank you,
    Brandon

  • ZycaR
    August 6th, 2008 at 10:11 am

    Hi Hiroki,

    First I want to thank you for your great job in this project.

    I would like to do some cosmetic changes in your Dokan.NET code.
    Do just some renaming, splitting of code and adding neccesary properties. I hope there will be no problem, because new code have only one little change in interface.

    The reason for changes is to have code better understanding and more like common C# coding habits. :o)

    I’ll add here link once I finish my changes.

    Best Regards,
    sir ZycaR

  • Cyril
    August 6th, 2008 at 11:35 pm

    Just for your interest, there is a fuse-win32 compatible layer based on Dokan, here:
    http://hg.sharesource.org/fuse4win/summary

    You’ll have to install cygwin (as Fuse REQUIRES Posix) with gcc, and you could get good behaviour (but slow… for the moment …) for most Fuse based code (sshfs works, curlftpfs works with few modifications, I haven’t tested the other codes).

    BTW, I’ve tried to port it to mingw (to have really native code), but failed (because it lacks many posix api). If you want more details, let me know.

  • GG
    August 9th, 2008 at 1:43 pm

    Wow Hiroki,

    Your work is excellent. I am also interested in a Windows 2003 compatible version. Please let me know if there is anything I can do to help.

    Thanks,
    Gabe

  • Hiroki
    August 9th, 2008 at 1:53 pm

    Hello, GG and BB

    I want to release Windows 2003 version and 64 bit version at the same time. Now Win2003 version has no problem, as far as know. But 64 bit version is not ready. If 64 bit version takes long time, I’ll release Win 2003 version alone.

  • BB
    August 16th, 2008 at 5:43 am

    Thank you for the update Hiroki. I’ll wait for the 2003 release rather than setup an XP environment then.

    Thanks again,
    Brandon

  • Lucas
    August 21st, 2008 at 5:19 pm

    In using mirror.exe, it shows error in unzip a “ZIP” file using 7-zip.
    The detail operation is, using 7-zip to “test” the zip file.
    And it’s so strange, only NG in “test” the zip file, but fine in “decompress” the file. The both operations (test & decompress”) are same.
    Using 7-zip to test other compress is fine (such as rar). Any one find same problem?

  • User links about "dokan" on iLinkShare
    September 21st, 2008 at 5:18 am

    [...] | user-saved public links | iLinkShare 3 votesDokan library 0.3.6 released>> saved by yewknee 2 days ago3 votesFirst Day in JU (Tagged by Reeti)>> saved by camous 11 days [...]

Leave a Reply

*
To prove that you're not a bot, enter this code
Anti-Spam Image