r/coolgithubprojects • • 9d ago

Mount Mac (APFS) drives in Windows Explorer, with write access

https://github.com/christofilojohn/winapfs

Plug a Mac-formatted drive into Windows and it just offers to format it. The existing tools are paid, read-only, or both. winapfs mounts APFS volumes as normal drive letters.

How it works:

  • The engine is the Linux APFS driver (linux-apfs-rw), running in user mode on Windows. Under it is a small shim I wrote that implements the kernel APIs it expects (page cache, inode cache, block I/O, workqueues), compiled with MSVC.
  • WinFsp connects it to Windows.
  • apfs-fuse’s ApfsLib handles encrypted (FileVault) volumes.
  • apfsck is ported to Windows, and every write test is followed by a consistency check.
  • A background service and tray app auto-mount drives when you plug them in, keep their drive letters and eject cleanly.

Status: experimental. Back up anything you care about before writing to it. GPL-2.0.

I’d really like bug reports, especially on large or encrypted volumes !

1 Upvotes

0 comments sorted by