Get metadata for the volume that contains the given file or directory path.
Unlike getVolumeMetadata, this accepts any path — not just mount
points. Symlinks are resolved, and macOS APFS firmlinks (e.g. /Users →
/System/Volumes/Data) are handled correctly, mirroring what df does.
Get metadata for the volume that contains the given file or directory path.
Unlike getVolumeMetadata, this accepts any path — not just mount points. Symlinks are resolved, and macOS APFS firmlinks (e.g.
/Users→/System/Volumes/Data) are handled correctly, mirroring whatdfdoes.