当前位置: 首页 > 软件库 > 应用工具 > 文件管理器 >

dokany

授权协议 Readme
开发语言 C/C++
所属分类 应用工具、 文件管理器
软件类型 开源软件
地区 不详
投 递 者 柯甫
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Dokany

FOSSA Status||

Dokan Demo

What is Dokan

When you want to create a new file system on Windows, other than FAT or NTFS,you need to develop a file system driver. Developing a device driver that worksin kernel mode on windows is extremely technical. By using Dokan, you can createyour own file systems very easily without writing device drivers. Dokan issimilar to FUSE (Linux file system in user space) but works on Windows. Moreover,dokany includes a FUSE wrapperthat helps you to port your FUSE filesystems without changes.

What is Dokany

Dokany is a fork of Dokan 0.6.0 with bug fixes, clean change history andupdated to build with latest tools.

Because the original Dokan Legacy (< 0.6.0) project is no longer maintained.

Since version 0.8.0, dokany broke compatibility with the dokan API. SeeChoose a versionfor more information.

Signed x86 / x64 / ARM / ARM64 drivers are provided at each release.

Licensing

Dokan contains LGPL and MIT licensed programs.

  • user-mode library (dokan1.dll) LGPL
  • driver (dokan1.sys) LGPL
  • network library (dokannp1.dll) LGPL
  • fuse library (dokanfuse1.dll) LGPL
  • installer (DokanSetup.exe) LGPL
  • control program (dokanctl.exe) MIT
  • samples (mirror.exe / memfs.exe) MIT

For details, please check the license files.

  • LGPL license.lgpl.txt
  • MIT license.mit.txt

You can obtain source files from https://dokan-dev.github.io

Environment

Dokan works on

  • Windows Server 2019 / 2016 / 2012 (R2) / 2008 R2 SP1
  • Windows 10 / 8.1 / 8 / 7 SP1

Platform

  • x86
  • x64
  • ARM
  • ARM64

How it works

Dokan library contains a user mode DLL (dokan1.dll) and a kernel mode filesystem driver (dokan1.sys). Once the Dokan file system driver is installed, you cancreate file systems which can be seen as normal file systems in Windows. Theapplication that creates file systems using Dokan library is called File systemapplication.

File operation requests from user programs (e.g., CreateFile, ReadFile,WriteFile, ...) will be sent to the Windows I/O subsystem (runs in kernel mode)which will subsequently forward the requests to the Dokan file system driver(dokan1.sys). By using functions provided by the Dokan user mode library(dokan1.dll), file system applications are able to register callback functionsto the file system driver. The file system driver will invoke these callbackroutines in order to respond to the requests it received. The results of thecallback routines will be sent back to the user program.

For example, when Windows Explorer requests to open a directory, the CreateFilewith Direction option request will be sent to Dokan file system driver and thedriver will invoke the CreateFile callback provided by the file systemapplication. The results of this routine are sent back to Windows Explorer asthe response to the CreateFile request. Therefore, the Dokan file system driveracts as a proxy between user programs and file system applications. Theadvantage of this approach is that it allows programmers to develop file systemsin user mode which is safe and easy to debug.

To learn more about Dokan file system development, see the and the samples, especially dokan_memfs.

Build

In short, download and install theVisual Studio 2019, select Windows 10 SDK component during the install or from the Tools menu &install the WDK 10

For details, see thebuild page.

Installation

For manual installation, see theinstallation page.

Contribute

You want Dokan to get better? Contribute!

Learn the code and suggest your changes onGitHub repository.

Detect defects and report them onGitHub issue tracker.

Ask and answer questions onGithub Discussions orGoogle discussion group.

  • https://github.com/dokan-dev/dokany 转载于:https://www.cnblogs.com/whm-blog/p/7124099.html

相关阅读

相关文章

相关问答

相关文档