On Wed, Oct 12, 2011 at 11:30 AM, Abhijit Pawar
<apawar.linux@gmail.com> wrote:
Hi Ravi,
As mentioned in the article, you can start looking at fsnotify code
in the kernel. What we need is like something inserted between the
VFS Layer and the filesystem driver which will tell you what is
going on.
Regards,
Abhijit Pawar
Thank you Abhijit for your response.
Previously I had gone through the inotify code (ie fsnotify). What I've observed is, there are inotify patches (with fsnotify_ prefix ) in every file I/O system calls implementation. So what I understood is we can not achieve file change notification without patching the existing kernel source code. ie I can not achieve this using a simple device driver kind of mechanism.
Please correct me if I'm wrong.
Regards,
Ravi