wait4path(1)

wait4path1

Wait for given path to show up in the namespace

Usage

wait4path ⟨path⟩

Overview

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.

Releases

122 releases since Mac OS X 10.4; the text changed 2 times.

  1. 10.4–10.9.5
  2. 10.12–11.5
  3. 12.0.1–26.5

From system_cmds 1042.120.1 in macOS 26.5. Parsed by carta from the page's mdoc source.