Skip to content

feat(windows): add WinFsp mount backend with EncryptedFs bridge#323

Open
mitchellecm7 wants to merge 1 commit into
xoriors:mainfrom
mitchellecm7:feat/windows-winfsp-mount
Open

feat(windows): add WinFsp mount backend with EncryptedFs bridge#323
mitchellecm7 wants to merge 1 commit into
xoriors:mainfrom
mitchellecm7:feat/windows-winfsp-mount

Conversation

@mitchellecm7
Copy link
Copy Markdown

@mitchellecm7 mitchellecm7 commented May 17, 2026

Description

Adds a real Windows filesystem backend in src/mount/windows.rs using WinFsp,
replacing the dummy fallback on Windows.

Changes:

  • src/mount/windows.rs — implements FileSystemContext (WinFsp) bridged to
    EncryptedFs; MountPointImpl and MountHandleInnerImpl matching the
    existing trait surface
  • src/mount.rs — adds #[cfg(target_os = "windows")] routing; dummy now
    restricted to not(any(linux, windows)); umount() Windows-safe
  • Cargo.toml — adds winfsp = "0.3" and winapi under
    [target.'cfg(target_os = "windows")'.dependencies]
  • docs/readme/Windows.md — prereqs, build/mount/unmount steps, operation
    mapping table, v1 limitation list

Verification

cargo check --target x86_64-pc-windows-msvc passes on Windows with WinFsp installed.

Type of change

  • New feature
  • Documentation update

Checklist

  • Self-review performed
  • Tested on Windows (cargo check passes)
  • Documentation added

Signed-off-by: mitchellecm7 <149884682+mitchellecm7@users.noreply.github.com>
@mitchellecm7 mitchellecm7 requested a review from radumarias as a code owner May 17, 2026 16:24
@mitchellecm7 mitchellecm7 force-pushed the feat/windows-winfsp-mount branch from 86689e8 to 2ffd3fc Compare May 18, 2026 19:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant