@geekbb: 在 Apple Silicon 的 macOS 上实现 NTFS 读写,无需内核扩展、无需关闭 SIP。 这其实是运行了一个 libkrun 微型虚拟机(基于 anylinuxfs,内部跑 ntfs-3g)来完成真正的 NTFS 写入,再…
摘要
ntfsmac is an open-source tool that enables NTFS read/write on Apple Silicon macOS by using a libkrun microVM running ntfs-3g, avoiding kernel extensions and SIP modifications. It provides both CLI and a GUI menu-bar app.
查看缓存全文
缓存时间: 2026/07/15 22:00
在 Apple Silicon 的 macOS 上实现 NTFS 读写,无需内核扩展、无需关闭 SIP。
这其实是运行了一个 libkrun 微型虚拟机(基于 anylinuxfs,内部跑 ntfs-3g)来完成真正的 NTFS 写入,再由 macOS 通过 NFS 挂载访问,绕开了被 SIP 策略挡住的内核扩展方案。
https://t.co/4vtdAhrtEs https://t.co/uMQIbP0ySg
khr898/ntfsmac
Source: https://github.com/khr898/ntfsmac
ntfsmac
NTFS read/write on Apple Silicon macOS — no kernel extension, no SIP modification.
Wraps anylinuxfs (a libkrun microVM running
ntfs-3g), exported to macOS over NFS on a host-only vmnet bridge. CLI first, GUI second.
Why
macOS does not have native NTFS write support. The usual fixes are a kernel extension (blocked by newer SIP policy) or a paid third-party driver. ntfsmac takes a third path: a disposable Linux microVM does the actual NTFS write, and macOS just mounts it over NFS — no kext, no SIP toggle, no System Extension approval dance.
Requirements
- Apple Silicon (arm64) only. No Intel fallback.
- macOS 13.0+.
Install
CLI, via Homebrew tap:
brew tap khr898/ntfsmac
brew install ntfsmac
ntfsmac diagnose
GUI: download the latest ad-hoc-signed .dmg from Releases — not
distributed as a Homebrew cask (see Signing & distribution).
Usage
ntfsmac mount <disk identifier> # e.g. disk4s1 — mounts read/write by default
ntfsmac unmount <disk identifier>
ntfsmac diagnose # environment + bridge + helper health check
ntfsmac uninstall # removes CLI, runtime state, and the GUI's privileged helper
ntfsmac help
Device identifiers are validated against ^disk[0-9]+s[0-9]+$ before any command touches
them — see SECURITY.md.
GUI
Menu-bar app (no Dock icon): pick a drive, mount it, get out of the way. Menu-bar icon color tells the whole story — grey idle, blue mounting, green mounted read/write, yellow mounted read-only (dirty journal), red error. Full button-level spec in GUI-PLAN.md.
![]() |
![]() |
![]() |
Architecture
macOS ── NFS (soft mount) ──> vmnet host-only bridge ──> libkrun microVM ── ntfs-3g ──> NTFS drive
Every control that mounts, unmounts, or touches pf/route state goes through a SMJobBless
XPC helper — the GUI never shell-outs to sudo directly. Full architecture and phased build
plan: docs/dev/PLAN.md.
Signing & distribution
Ad-hoc signed only (codesign -s -) — no paid Apple Developer account, no notarization.
That’s why the GUI ships as a DMG (never a Homebrew cask) and the CLI lives in a personal
tap (never homebrew-core).
Status
CLI-first build, currently in the Phase 3 GUI build-out. See docs/dev/PLAN.md for the full phase plan.
Contributing
See CONTRIBUTING.md. Working with an AI coding agent? Start with CLAUDE.md (also readable as AGENTS.md).
Security
Please report vulnerabilities per SECURITY.md rather than filing a public issue.
License
MIT — see LICENSE.
相似文章
@alswl: 你知道 Linux 内核有一个 1997 年就引入的特性,让 Apple Silicon Mac 能高效运行 x86 容器吗? 它叫 binfmt_misc,Linux 2.1.43 引入,距今快 30 年了。 原理极其简单: Linux…
文章介绍了Linux内核自1997年引入的binfmt_misc特性,它允许通过注册规则将二进制文件交给指定解释器执行,如今在Apple Silicon Mac上结合Rosetta实现高效运行x86容器,性能接近原生70-90%。
@sitinme: 有一个挺有意思的开源项目,叫 Cider,专门给 Apple Silicon 芯片的 Mac 做本地 AI 推理加速。 很多人买了 Mac mini、MacBook Pro ,想在本地跑模型,但总会出现速度不够快、内存吃得猛的情况 其实 …
Cider 是一个开源项目,专为 Apple Silicon Mac 设计,通过充分利用 M 系列芯片的算力来加速本地 AI 推理,适配 MLX 生态,支持 Qwen、Llama 等模型,安装简单。
elfuse: 在macOS Apple Silicon上原生运行Arm64/x86-64 Linux ELF二进制文件
elfuse 是一个轻量级的进程级运行时,可在 macOS Apple Silicon 上原生运行 Linux ELF 二进制文件,无需 Docker 或完整虚拟机,使用 Hypervisor.framework 并可选择 Rosetta 进行 x86_64 转换。
@QingQ77: 一个用 Rust 和 C 编写的开源项目,通过 JIT 编译技术在 macOS 上直接运行 Linux 容器。 https://github.com/ricccrd/dd 它不需要虚拟机、hypervisor 或 Linux 内核,而是将…
dd is an open-source tool written in Rust and C that runs Linux containers on macOS without a VM by using JIT compilation to translate container instructions and handle syscalls in userspace. It implements the Docker Engine API, supports arm64 and x86-64 Linux images, and offers performance comparable to or better than VM-based solutions.
@jaywcjlove: 国行 Mac 一键开启完整 macOS AI 智能 这是一款内核补丁,把国行 Mac 底层地区伪装成美版,以此解锁完整 macOS AI 全部功能。
这篇文章介绍了一个名为RegionSpoof的内核扩展(kext),可将国行Mac的区域伪装成美版,从而解锁完整的Apple Intelligence功能,包括端侧和云端AI特性。


