APFS -- how do I tell an overhead volume (such as VM or Recovery or Preboot) from a user mountable volume?

Mounted or not mounted isn't a sufficiently robust signal to determine if an APFS volume should be presented to the user.


Much thanks,

Jim

Accepted Reply

The answer I've found is the IORegistryService properties dictionary has 1) an automount flag set to 0 for the support volumes (default/unspecified appears to be 1) and 2) there is a roles array for the support volumes.

Replies

The properties dictionary for the volumes doesn't give any good clues that I have been able to determine.

The answer I've found is the IORegistryService properties dictionary has 1) an automount flag set to 0 for the support volumes (default/unspecified appears to be 1) and 2) there is a roles array for the support volumes.