Results 1 to 2 of 2
Hi,
I am facing some different behaviour using inotify for notifying file changes.
I added file notification for some file in /tmp directory with IN_MODIFY flag.
when i modified contents ...
- 08-16-2009 #1Just Joined!
- Join Date
- May 2009
- Posts
- 11
File notification : inotify_init
Hi,
I am facing some different behaviour using inotify for notifying file changes.
I added file notification for some file in /tmp directory with IN_MODIFY flag.
when i modified contents in this file, i am able to read the notifications of this change and the mask value for this notification is IN_MODIFY(2).
If i use same file with same source code in other directory(ex : /home), iam getting mask value as IN_IGNORED flag(3276
. After this any modifications to the file, i am not getting any notifications.
This is some strange behaviour.
Please let me know if any body have idea.
- 08-17-2009 #2
Though I'm not sure about exact error. May be check out this Monitor Linux file system events with inotify and sample application might help you out of the issue.
- Lakshmipathi.G
-------------------
FOSS India Award winning ext3fs Undelete tool and tutorials www.giis.co.in
First they criticize you,Then they laugh at you,Then they fight with you,Then you win. - M.K.Gandhi
-------------------


Reply With Quote