Determine Volume Groups in macOS Catalina, Big Sur and later
问题 Since macOS 10.15 (Catalina), a volume, as the user sees it, may actually be comprised of multiple volumes, such as the System and the Data volume. I'm writing a tool that needs to identify these volumes separately because when using specific file operations, such as searchfs and fts_read , which do not cross such volume boundaries, I need to understand which volumes belong together, so that, when the user wants to search a system volume, I know to include both the "System" and its "Data"