Results 1 to 1 of 1
I am using inotify in software to run on a variety of linux platforms.
I am getting occasional errors with an inotify_rm_watch call, and via log messages can plainly see ...
- 07-29-2011 #1Just Joined!
- Join Date
- May 2011
- Posts
- 1
inotify_rm_watch returns EINVAL on legitimate call
I am using inotify in software to run on a variety of linux platforms.
I am getting occasional errors with an inotify_rm_watch call, and via log messages can plainly see that both operands are valid.
The error appears to ONLY occurr when a watched file is deleted AND the resulting read command on the inotify_fd yields the events IN_DELETE_SELF AND IN_IGNORE.
I have seen plenty of messages indicating this is a frequent issue - but no work arounds.
Any suggestions anyone ?
Output of uname -a on current machine I am on is
Linux machinename 2.6.27 #1 PREEMPT RT Mon Jul 18 21:59:38 EDT 2011 ppc GNU/Linux
This software is to run on a variety of machines, changing the os version is not an option.
Thanks


Reply With Quote