Extended flags (EF): third column in File Attributes
Posted: Mon Mar 29, 2021 9:49 am
In Command > File Attributes we have two columns "User flags" (UF) and "System flags" (SF) in the second section. It would be nice to have a third column for the macOS "Extended flags" (EF), which afaik would be read-only.
The relevant section in stat.h is this:
The relevant section in stat.h is this:
Code: Select all
https://github.com/apple/darwin-xnu/blob/main/bsd/sys/stat.h#L543-L553
I don't know if this is the latest version of XNU, but judging from this we would have at least six additional inode flags to support:Extended flags ("EF") returned by ATTR_CMNEXT_EXT_FLAGS from getattrlist/getattrlistbulk
- Share blocks (EF_MAY_SHARE_BLOCKS)
- No XAs (EF_NO_XATTRS)
- iCloud sync root (EF_IS_SYNC_ROOT)
- Purgeable (EF_IS_PURGEABLE)
- Sparse (EF_IS_SPARSE)
- Synthetic (EF_IS_SYNTHETIC)