hoytech/vmtouch — pull request #6 by krka (2012-10-24 11:49:07+00:00)
Title: New option to wait for the daemon to finish mlocking before exiting.

The -w option can be used together with -d to:
* let the parent process wait for the child process (daemon) to mlock the files.
* Forward stdout and stderr from child to the parent until the files are mlocked.
Also, if the daemon fails to mlock for any reason, the parent process will
fail with the same exit code.

This is useful when you want to run vmtouch as a daemon, but still be able to wait
for files to be properly mlocked.