I am using the function statfs64
to obtain the mount point from a path on macOS via property f_mntonname
.
This works fine when building against the SDK 10.x for the architecture x86_64.
However, when building for arm64 (and SDK 11), the method is not available.
I can use statfs
as fallback which seems to be available, but this has limits to the path length.
I know there is the NSFileManager
-API (attributesOfFileSystemForPath
), but unfortunately there is no property for the mount path.
Does anyone know how to to this on the new SDK/Platform?
Thank you and regards, Dominik