Re: Looking for a file monitor

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux