commit a4463068a782781414697387eba321d67db1b523
parent 429ec01f001f0fef47922044826af7202388a806
Author: leitner <leitner>
Date: Mon, 27 Oct 2014 13:46:54 +0000
ftrigger needs inotify
Diffstat:
1 file changed, 3 insertions(+), 8 deletions(-)
diff --git a/ftrigger.1 b/ftrigger.1
@@ -9,14 +9,9 @@ ftrigger \- trigger an action if a file changes
can watch a list of files and run shell commands if they change.
.B ftrigger
-uses the inotify kernel notification mechanism if available, so
-it can trigger in real time. With inotify, ftrigger will trigger when
-the file is closed after it was opened for writing. Without inotify,
-this information is not available, so ftrigger might trigger when the
-file has only been partially written yet. Make sure to use proper
-atomic file updates (write to a temp file and use rename(3) to move the
-new version over the old one when done) to update your files to avoid
-race conditions.
+uses the inotify kernel notification mechanism, so it triggers in real
+time. ftrigger will trigger when the file is closed after it was opened
+for writing to avoid race conditions when the file is not fully written.
.SH EXAMPLES