Messages in this thread | | | Date | Fri, 24 Feb 2006 22:00:01 -0600 | From | Hareesh Nagarajan <> | Subject | Re: Looking for a file monitor |
| |
Wei Hu wrote: > Yeah, that's basically what I'm looking for. > So is it correct that I can keep track of all the actions as inotify events?
Yes, you can. I just looked at the defn of sys_open and I see that fsnotify_open(f->f_dentry); gets called, which internally calls: inotify_dentry_parent_queue_event(...) and, inotify_inode_queue_event(...)
Do check out inotify. The same applies to other generic operations on the VFS layer.
Hareesh - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |