Research implementation for Windows using WinFSP#322
Open
Robert0303-C wants to merge 1 commit into
Open
Conversation
This commit adds initial Windows filesystem support using the WinFSP (Windows File System Proxy) library. WinFSP provides a FUSE-like interface for implementing filesystems on Windows. Changes: - Added winfsp dependency for Windows target in Cargo.toml - Created src/mount/windows.rs with EncryptedFsWinFsp implementation that wraps EncryptedFs with WinFSP's FileSystemContext trait - Updated src/mount.rs to use windows module on Windows - Updated src/main.rs to enable Windows support Note: WinFSP is GPLv3 licensed. The implementation provides: - File open/close operations - File read/write operations - Volume information - Basic file attributes Some operations (rename, delete, directory enumeration) are marked as TODO and need further implementation. The implementation follows the same pattern as the Linux FUSE implementation but adapted for WinFSP's API. See: xoriors#3
Author
|
/claim |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR implements research and initial implementation for Windows support using WinFSP (Windows File System Proxy).
Changes
Added WinFSP dependency (Cargo.toml):
Created Windows mount module (src/mount/windows.rs):
Updated mount infrastructure (src/mount.rs):
Enabled Windows CLI support (src/main.rs):
Technical Details
The implementation follows the same architecture as the Linux FUSE implementation:
WinFSP is a mature, widely-used Windows filesystem driver that provides a FUSE-like API. The implementation uses the Rust crate which provides safe bindings.
Known Limitations
References
FUSE(or similar) support onWindows#3Testing
To test on Windows: