Re: A possible flaw in the fsnotify design.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Alexey Zaytsev
Date: Monday, November 15, 2010 - 3:44 pm

On Tue, Nov 16, 2010 at 01:11, Eric Paris <eparis@redhat.com> wrote:

debian-i386:~/tmp# touch a
debian-i386:~/tmp# ../fanotify a &
debian-i386:~/tmp# link a b
debian-i386:~/tmp# ls -li
total 0
3433 -rw-r--r-- 2 root root 0 Nov 15 22:37 a
3433 -rw-r--r-- 2 root root 0 Nov 15 22:37 b
debian-i386:~/tmp# echo 123 > b
/root/tmp/b: pid=2143 mask = 20 open
/root/tmp/b: pid=2143 mask = a modify 0 - 4 close(writable)  0 - 4

Am I doing something wrong? Same thing happens if I watch the mount point.
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: A possible flaw in the fsnotify design., Eric Paris, (Mon Nov 15, 3:11 pm)
Re: A possible flaw in the fsnotify design., Alexey Zaytsev, (Mon Nov 15, 3:44 pm)
Re: A possible flaw in the fsnotify design., Eric Paris, (Mon Nov 15, 3:51 pm)
Re: A possible flaw in the fsnotify design., Alexey Zaytsev, (Mon Nov 15, 4:03 pm)
Re: A possible flaw in the fsnotify design., Eric Paris, (Mon Nov 15, 4:12 pm)
Re: A possible flaw in the fsnotify design., Alexey Zaytsev, (Mon Nov 15, 4:15 pm)