public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Hareesh Nagarajan <hnagar2@gmail.com>
To: Wei Hu <glegoo@gmail.com>
Cc: Diego Calleja <diegocg@gmail.com>, linux-kernel@vger.kernel.org
Subject: Re: Looking for a file monitor
Date: Fri, 24 Feb 2006 22:00:01 -0600	[thread overview]
Message-ID: <43FFD641.6020104@gmail.com> (raw)
In-Reply-To: <5be025980602241640o84878ddy87fa8027b5cc6be5@mail.gmail.com>

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

  reply	other threads:[~2006-02-25  4:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-24  7:51 Looking for a file monitor Wei Hu
2006-02-24  8:06 ` Hareesh Nagarajan
2006-02-24  8:38   ` Wei Hu
2006-02-24 12:05   ` Diego Calleja
2006-02-24 17:02     ` Hareesh Nagarajan
2006-02-25  0:40       ` Wei Hu
2006-02-25  4:00         ` Hareesh Nagarajan [this message]
     [not found] ` <43FEC9EC.7080902@dawes.za.net>
2006-02-24 15:03   ` Wei Hu
  -- strict thread matches above, loose matches on Subject: below --
2006-02-25  0:46 Chuck Ebbert
2006-02-25  4:01 ` Hareesh Nagarajan
2006-02-25  8:49   ` Arjan van de Ven

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43FFD641.6020104@gmail.com \
    --to=hnagar2@gmail.com \
    --cc=diegocg@gmail.com \
    --cc=glegoo@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox