<div dir="ltr">Directory creation is not a race condition when done properly.<div><br></div><div>The application (like Lsyncd) gets a directory creation event, creates a watch for the directory and scans the new directory for files or subdirectories in there, subdirectories are handled recursevly.</div><div><br></div><div>This way nothing can be missed.</div><div><br></div><div>The general warning of "bugs may be possible" is a no-brainer. Yes, they are always possible, everywhere.</div><div><br></div><div>As said, there are some issues with the "move" (aka rename) event to be detected as such, sometimes it may be detected as a create / delete without proper acknowleding the move within the watched tree. And events may not arrive in the same order as they happened, due to multi-core nature of modern systems. But otherwise than that, I'm convinced it is fine. And all of this is not a real issue with event based filter list creation to minify rsyncs work.</div><div><br></div><div>The only other issue I know of is hard links. Create a hard link outside the watched directory to a file within the watched directory tree and altering will not create an event. In that case you just must not do them. This has hardly been an issue in most usecases tough.</div><div class="gmail_extra"><br><div class="gmail_quote"><br></div></div></div>