Skip to content

apfs

Apple File System.

Implements filesystem.Filesystem. No cgo, no root.

Status

Read Write Format Label Symlinks On-disk format
Real APFS on-disk (kext-mountable), GPT-aware

Supported

  • Real APFS read: FS-tree traversal, multi-extent files, xattrs, sealed volumes
  • Snapshot read (OpenSnapshot)
  • Write & format kext-mountable containers
  • FileVault software encryption (FormatContainerEncrypted)
  • GPT + Apple DMG output
  • POSIX special files
  • Container resize (Resize)

Not implemented

  • Snapshot creation gated behind an Apple-private entitlement
  • Some encrypted-container fsck stages are Apple-private

Install

go get github.com/go-filesystems/apfs

Note

See the module's README for full, up-to-date details.