From: Jeff Hostetler Date: Wed, 07 Sep 2022 19:14:54 GMT Subject: Re: [PATCH v4 4/4] fsmonitor: normalize FSEvents event paths to the real path Message-ID: In-Reply-To: On 9/6/22 3:33 PM, Eric DeCosta wrote: > > [...] > > This is informative: > > https://developer.apple.com/forums/thread/120665 > > -Eric > > How strange........ Have you tried the: fcntl(F_GETPATH) vs fcntl(F_GETPATH_NOFIRMLINK) vs realpath() comparison suggested in the comments and does it return anything sensical? Such that we could record both spellings when the daemon starts up. I think we'd have to do it on an open fd on the worktree root directory. Jeff https://developer.apple.com/forums/thread/120665