X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/5ba3f43ea354af8ad55bea84372a2bc834d8757c..0a7de7458d150b5d4dffc935ba399be265ef0a1a:/bsd/man/man2/exchangedata.2 diff --git a/bsd/man/man2/exchangedata.2 b/bsd/man/man2/exchangedata.2 index 10a22ae34..48d05b6c8 100644 --- a/bsd/man/man2/exchangedata.2 +++ b/bsd/man/man2/exchangedata.2 @@ -73,6 +73,16 @@ Programs that reference the file via an object identifier will continue to reference the original file, but now it has the new data. .Pp . +WARNING: This system call is largely supported only by HFS and AFP file systems. Many other +file systems, including APFS, do not support it. Further, it is not supported on iOS, tvOS, or watchOS. +It is recommended that callers refer +instead to +.Fn rename +or +.Fn renamex_np +to conduct safe-save operations instead. +.Pp +. .\" path1 and path2 parameters . The @@ -115,6 +125,7 @@ is set to indicate the error. .Sh COMPATIBILITY Not all volumes support .Fn exchangedata . +This includes APFS volumes. You can test whether a volume supports .Fn exchangedata by using