darling-dmg
darling-dmg copied to clipboard
Support of APFS (new Apple File System)
Would be happy to see someday support of new Apple FS
Apple File System supports nearly all of the features of HFS+, and offers improvements over HFS+, including 64-bit inode numbers, 1 nanosecond timestamp granularity, an expansive block allocator, support for sparse files, and a crash protection scheme.
Yep, thought the same yesterday. Do you happen to know if AFS will also be used in DMGs? I assume yes, but just to be sure.
Sorry for the late reply. Nope, still haven't met APFS in DMG
Ok, now it's easy to create DMG with APFS:
hdiutil create -volname myVolume -srcfolder ~/MyVolumeFolder -ov -fs apfs myVolume.dmg
From Apple FAQ: Q: Is APFS open source? A: An open source implementation is not available at this time. Apple plans to document and publish the APFS volume format specification.
The DMGs in IPSWs (iOS firmware files) uses APFS since iOS 10.3.
https://github.com/sgan81/apfs-fuse
as a default if you create a DMG in latest version of hdutil it create a GPT partitioned disk with a APFS file system.
bump