Download
Quick Links
Benefits |
Wiki |
Questions |
Author's Twitter
Check out my new kernel driver project WinSpd.
WinFsp is a set of software components for Windows computers that allows the creation of user mode file systems. In this sense it is similar to FUSE (Filesystem in Userspace), which provides the same functionality on UNIX-like computers.
WinFsp is very stable. There are no known kernel mode crashes and it does not suffer from resource leaks or similar problems. WinFsp owes this stability to its Design and its rigorous Testing Regime.
WinFsp outperforms its competition and in many scenarios performs as well as NTFS. Read more about its Performance.
WinFsp strives for compatibility with NTFS and file system correctness. For the full details see the Compatibility document.
WinFsp has an easy to use but comprehensive API.
- This simple Tutorial explains how to build a file system.
- Consult the API Reference for native development.
- Includes .NET layer for managed development. See src/dotnet.
- Includes FUSE 2.8 compatibility layer: fuse/fuse.h
- Includes FUSE 3.2 compatibility layer: fuse3/fuse.h
- Signed drivers provided on every release.
- Available under the GPLv3 license with a special exception for Free/Libre and Open Source Software.
To learn more about WinFsp, please visit its website: http://www.secfs.net/winfsp/
The project source code is organized as follows:
- π build/VStudio: WinFsp solution and project files.
- π doc: The WinFsp design documents and additional documentation can be found here.
- π ext: External dependencies.
- π ext/tlib: A small test library originally from the secfs (Secure Cloud File System) project.
- π ext/test: Submodule pointing to the secfs.test project, which contains a number of tools for testing Windows and POSIX file systems.
- π inc: Public headers.
- π inc/fuse: Public headers for the FUSE compatibility layer.
- π inc/fuse3: Public headers for the FUSE3 compatibility layer.
- π inc/winfsp: Public headers for the WinFsp API.
- π src: WinFsp source code.
- π src/dll: Source code to the WinFsp DLL.
- π src/dll/fuse: Source code to the FUSE compatibility layer.
- π src/dll/fuse3: Source code to the FUSE3 compatibility layer.
- π src/dotnet: Source code to the .NET layer.
- π src/fsptool: Source code to fsptool command line utility.
- π src/launcher: Source code to the launcher service and the launchctl utility.
- π src/sys: Source code to the WinFsp FSD.
- π opt/cygfuse: Source code to the FUSE for Cygwin package.
- π tst: Source code to example file systems and test suites.
- π tst/winfsp-tests: WinFsp test suite.
- π tools: Various tools for building and testing WinFsp.
In order to build WinFsp you will need the following:
- Visual Studio 2015
- Windows Driver Kit (WDK) 10
- Wix toolset
To fully build WinFsp (including the installer) you must use tools\build.bat
. By default it builds a Release build, but you can choose either the Debug or Release configuration by using the syntax:
tools\build.bat CONFIGURATION
If you build the driver yourself it will not be signed and Windows will refuse to load it unless you enable "testsigning". You can enable "testsigning" using the command bcdedit.exe -set testsigning on
. For more information see this document.
WinFsp is designed to run on Windows 7 and above. It has been tested on the following platforms:
- Windows 7 Enterprise
- Windows 8 Pro
- Windows Server 2012
- Windows 10 Pro
- Windows Server 2016
I am looking for help in the following areas:
- If you have a file system that runs on FUSE please consider porting it to WinFsp. WinFsp has a native API, but it also has a FUSE (high-level) API.
- If you are working with a language other than C/C++ (e.g. Delphi, Java, etc.) and you are interested in porting/wrapping WinFsp I would love to hear from you.
- There are a number of outstanding issues listed in the GitHub repository. Many of these require knowledge of Windows kernel-mode and an understanding of the internals of WinFsp so they are not for the faint of heart.
In all cases I can provide ideas and/or support.
If you wish to discuss WinFsp there are now two options:
WinFsp is available under the GPLv3 license with a special exception for Free/Libre and Open Source Software. A commercial license is also available. Please contact Bill Zissimopoulos <billziss at navimatics.com> for more details.