Re: Can't get incron to work

From: <>
Date: Sun, 03 Aug 2008 00:14:28 +0200

>> One more recommendation: do not use IN_MODIFY at all. Use IN_CLOSE_WRITE
>> instead. IN_MODIFY may be emitted when the monitored file is in
>> inconsistent state (file changes needn't be done in one step, especially
>> for various buffered streams).
> This should probably be put in the documentation, yeah?

I agree. Let it be (issue #0000276).

> (And maybe even a
> warning logged when it's used?)

I think it isn't a good idea. There are many cases where IN_MODIFY is
useful (e.g. for persistently open log files where each write is
immediately flushed) and logging warnings could be boring.
Received on Sun Aug 03 2008 - 00:14:59 CEST

This archive was generated by hypermail 2.2.0 : Tue Jun 05 2012 - 22:14:21 CEST