Repository navigation
Native FSKit mount for macOS 26 (mount --native) - #33
Merged
Merged
Conversation
rustFUSE's own FSKit module (macos/FS) serves a synced directory as a passthrough without macFUSE; `rustfuse mount --native` runs the sync and provider socket, then mounts it with `mount -t rustfuse`. The TUI and Mac app offer it as a mount backend. Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_017XkM29BZuvUK5RBjQ1fmWx
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configuration
You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
darkspadez
marked this pull request as ready for review
October 22, 2026 23:35
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.
Before: mounting a volume on a Mac needed macFUSE (its kernel extension or its FSKit backend, which only mounts under /Volumes), or the NFS loopback.
After: on macOS 26,
rustfuse mount <dir> <mountpoint> --nativemounts anywhere through rustFUSE's own FSKit module, shipped inside the Mac app, with no macFUSE. The TUI and the Mac app offer it as a third mount backend ("native" / "rustFUSE extension").The module is a passthrough over the synced directory, like the FUSE backends, so the sync sees writes as ordinary edits. It hides
.rustfuse, fills placeholders through the daemon's provider socket before reading them, and re-marks open files every 30 s so eviction leaves them alone.How:
macos/FS(new ExtensionKit targetRustFuseFS,com.apple.fskit.fsmodule, Swift 5 mode, deployment macOS 26) implementsFSUnaryFileSystemand the volume operations (lookup, attributes, create, remove, rename, readdir, symlinks, open/close, read/write).rustfuse mount --nativeprepares the sync and provider socket, then runsmount -t rustfuse, andumounton exit. CI checks the extension is embedded with the FSKit extension point and that the CLI has--native. Docs: design.md §2.1, README, macos/README.Limits: only compiles in CI here (no Swift toolchain in the container). Running it needs a signature from a team granted the FSKit entitlement, and the user turns it on once in System Settings › General › Login Items & Extensions › File System Extensions. It is untested on a Mac until signing exists.
Generated by Claude Code