Simon's patch to add --snapshot support
A first attempt at initial replica support
A script to create a replica based on a consistent snapshot
Accept EINTR and EAGAIN from waitpid