macOS / binaries /

wait4path

/bin/wait4path
Wait for given path to show up in the namespace

The wait4path program simply checks to see if the given path exists, and if so, it exits. Otherwise, it sleeps until the mount table is updated and checks again. The program will loop indefinitely until the path shows up in the file system namespace.

source: man