Hello,
Is in macOS exist system call which can resolve real path to file/directory for APFS?
For example, in BigSur real path of /Users directory is /System/Volumes/Data/Users. So, I expect something like this:
Thanks!
Is in macOS exist system call which can resolve real path to file/directory for APFS?
For example, in BigSur real path of /Users directory is /System/Volumes/Data/Users. So, I expect something like this:
Code Block c++ std::string userFriendlyPath = "/Users/myuser1" const char* pRealPath = realpath(userFriendlyPath.c_str()); if (pRealPath == nullptr) _log.info("real path is the same"); // but in this case pRealPath should be == "/System/Volumes/Data/Users/myuser1"
Thanks!