3 ms·
APFS still supports resource forks. (They're not as baked-in as HFS/HFS+, though.) APFS has good extended attribute support. Whereas linux extended attributes
by ksherlock 7y ago
APFS still supports resource forks. (They're not as baked-in as HFS/HFS+, though.)
APFS has good extended attribute support. Whereas linux extended attributes might be limited to 64k, APFS extended attributes can be significantly bigger (I just created a 32MB one).
The xnu kernel has some ugly hacks (pre-dating APFS) which make the "com.apple.ResourceFork" available as a file ("/..namedfork/rsrc").
On HFS/HFS+, file/..namedfork/rsrc will always exist (and usually be empty). on APFS, file/..namedfork/rsrc will generate an ENOENT error if the resource fork/attribute doesn't exist.