Dokan

user mode file system for windows    >>Japanese version

Dokan library 0.4.0 released

December 11th, 2008 in Dokan by Hiroki

Dokan library 0.4.0 has just been released!
I’m pleased to announce the launch of new version of Dokan library. I completely redesigned the driver event handling model. There are a lot of improvements from the previous version. You must recompile all programs which use Dokan library because dokan.h is changed and this version is not compatible with the previous one. You need to update Dokan.NET, Dokan Ruby and Dokan SSHFS.

The license of Dokan driver is changed to LGPL from GPL.
- driver (dokan.sys) : LGPL
- dll (dokan.dll) : LGPL
- mounter, dokanctl, mirror sample : MIT

Dokan API is changed.
The difference of dokan.h is here
I changed to pass DOKAN_OPTIONS (which is passed to DokanMain) in DOKAN_FILE_INFO structure
and I put GlobalContext in DOKAN_OPTIONS structure. I add “DeleteOnClose” in DOKAN_FILE_INFO structure and changed the usage of Cleanup, DeleteFile and DeleteDirectory.

You should not delete file on DeleteFile or DeleteDirectory. When DeleteFile or DeleteDirectory, you must check whether you can delete or not, and return 0 (when you can delete it) or appropriate error codes such as -ERROR_DIR_NOT_EMPTY, -ERROR_SHARING_VIOLATION. When you return 0 (ERROR_SUCCESS), you get Cleanup with FileInfo->DeleteOnClose set TRUE, then you delete the file.

Changes from 0.3.9.
- Fixed: error during multiple file deletion. issue
- Fixed: excel support issue
- Fixed: file deletion in Explorer issue
- Fixed: improper CloseHandle issue
- Supported: filesytem wide context issue
- Fixed: 0 byte read issue
- Fixed: saving new file in notepad issue

x64 version coming soon.

Next version of Dokan library

November 27th, 2008 in Dokan by Hiroki

I’m now preparing to launch the next version of Dokan library.

There are a lot of improvements from the previous version. I changed many parts of the driver especially communication between the driver and the user mode library. This makes Dokan much stable and removes some deadlocks. I also add some new features. If you are interested in the detail, please check the subversion repository.
Please be careful if you use the above files. They may crash your computer.

I’m planing to change the API to fix Explorer file deletion problem.
API changing requires to re-compile all other application that depends on Dokan library, such as Dokan.NET and Dokan Ruby binding. I need more tests because I changed a lot.

All the libraries will be launched in a week.
Thank you for many comments and bug reports.

2008/12/09 Update:
The next version of Dokan is almost done. I updated the repository. From this version, the license of Dokan driver is changed to LGPL from GPL. Dokan API is changed. DOKAN_FILE_INFO structure, DOKAN_OPTIONS structure, DeleteFile, DeleteDirectory and Cleanup are changed. Please re-check dokan.h file. I’m still investigating the existing issues and I hope to launch the new version in a few days.

Dokan library 0.3.9 released

September 28th, 2008 in Dokan by Hiroki

Dokan library 0.3.9 is released today.

Dokan library is a user mode file system library for Windows.
x64 version is not ready now. I updated only x86 version.

Changes from 0.3.7
- Fixed: TRUNCATE_EXISTING is not working problem (issue)
- Fixed: FILE_FLAG_DELETE_ON_CLOSE is not working problem (issue)
- Fixed: CloseFile is never called problem, I’m not sure whether I could really fix this problem.
- Fixed: Disable APC when calling ExAcquireResourceExclusiveLite
- Fixed: Error check of memory allocations

I put a link to issues list on the header. If you find a bug, please use this link.
I also add a svn repository for Dokan library.

Dokan library 0.3.7 released

August 20th, 2008 in Dokan by Hiroki

Dokan library 0.3.7 is released.

Dokan library is a user mode file system library for Windows.
Now Dokan supports Vista x64 and Windows2003 Server!

Changes from 0.3.6
- Supported Windows 2003 and Vista x64
- Changed Dokan installer (DokanInstall32.msi for WindowsXP,2003,Vista x86 and DokanInstall64.msi for Vista x64)

Code Signing Certificate for 64bit drivers is supported by Infocraft Inc.

Dokan library 0.3.6 released

July 20th, 2008 in Dokan by Hiroki

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.

Dokan.NET 0.2.0 released

July 1st, 2008 in .NET by Hiroki

Dokan.NET 0.2.0 is now released

Sorry for frequent updates. As you know, Dokan.NET is a library which enables to make a Windows file system easily.

Changes from 0.1.9
- Fixed ProcessId while CreateFile, Open/CreateDirectory functions

Dokan.NET 0.1.9 released

June 30th, 2008 in .NET by Hiroki

Today Dokan.NET 0.1.9 is released.

Dokan.NET is a library to write a file system in C# or other .NET languages. Why don’t you make a your original Windows file system?

Changes from 0.1.8
- Fixed time in SetFileTime
- Fixed DokanFileInfo.Context

DokanNET.dll in Dokan SSHFS is not updated, so If you fix SetFileTime problem in DokanSSHFS, please copy new version of DokanNET.dll to DokanSSHFS directory.

Thank you, Sebastia and Alex for your information.

Dokan SSHFS 0.1.9 released

June 11th, 2008 in SSHFS by Hiroki

Dokan SSHFS 0.1.9 is released.

Dokan SSHFS is a program that mounts remore file system as local drive using SSH. You can edit and create files on Linux with your favorite Windows application.

Changes from 0.1.8
- Use the latest Dokan.NET library
- Enabled UseKeepAlive
- Fixed file cache consistency when creating new direction

Domain name is changed to dokan-dev.net

Dokan.NET 0.1.8 released

June 10th, 2008 in .NET by Hiroki

Dokan.NET 0.1.8 is now released.

Dokan.NET is a .NET binding of user-mode file system library Dokan. You can write your own Windows file system in C#, VB.NET…

Changes from 0.1.7
- Added UseKeepAlive option to DokanOptions
- Added some error constants

Domain name is changed to dokan-dev.net

Dokan library 0.3.4 released

June 8th, 2008 in Dokan by Hiroki

Dokan library 0.3.4 is now released

Dokan library is a user-mode file system for Windows.

I added an automatic unmount feature when dokan.dll is unload. I recommend you not to relay on this feature, file sytem should do unmount when file system exits.
I also added keep alive to check user-mode file system is alive. When you set TRUE on DokanOptions->UseKeepAlive, dokan library automatically unmounts 15 seconds after user-mode file system hanged up.

Changes from 0.3.2
- Added automatic unmount when dll is unloaded
- Added keep alive to check user-mode file system is alive
- Added multiple sessions
- Fixed BSOD when write operations are canceled by timeout
- Fixed the number of max thread in user-mode
- Many refactorings

I changed the domain name to dokan-dev.net.