![[wl_io_lockfilecreatewrite.png|256]]
- **Description**: Waiting for an OS write operation (`write()`) while creating
the data directory lock file (`postmaster.pid`). This occurs immediately after
startup and uses POSIX file locking (like `fcntl(F_SETLK)`) to definitively
claim the directory.
- **Resources**: [[Disk IO]], [[CPU]]