From: Jamie Lokier <lk@tantalophile.demon.co.uk>
To: Martin Rode <martin.rode@programmfabrik.de>
Cc: Nikita Danilov <Nikita@Namesys.COM>, linux-kernel@vger.kernel.org
Subject: Re: Callbacks to userspace from VFS ?
Date: Wed, 17 Apr 2002 18:09:26 +0100 [thread overview]
Message-ID: <20020417180926.C2046@kushida.apsleyroad.org> (raw)
In-Reply-To: <1019053273.8655.109.camel@marge> <15549.34936.502136.339319@laputa.namesys.com> <1019054427.8745.114.camel@marge>
Martin Rode wrote:
> I did not look deeper into F_NOTIFY, but if I only get a SIGNAL I don't
> know _what_ has happened (or better on what file something has
> happened). But to process the new / updated files I need the filename.
> If I only learn which directory was updated I still have to find out
> _which_ file is new or was changed.
If you use a real-time signal (number >= SIGRTMIN), then you can find
out which directory was affected. Look for "siginfo" and SA_SIGINFO.
But you are right that it doesn't tell you which filename is new or was
changed.
-- Jamie
next prev parent reply other threads:[~2002-04-17 17:12 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-17 14:21 Martin Rode
[not found] ` <15549.34936.502136.339319@laputa.namesys.com>
2002-04-17 14:40 ` Martin Rode
2002-04-17 17:09 ` Jamie Lokier [this message]
2002-04-17 14:45 ` Alex Riesen
2002-04-18 1:22 ` Keith Owens
2002-04-18 14:10 ` Michael Clark
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=20020417180926.C2046@kushida.apsleyroad.org \
--to=lk@tantalophile.demon.co.uk \
--cc=Nikita@Namesys.COM \
--cc=linux-kernel@vger.kernel.org \
--cc=martin.rode@programmfabrik.de \
/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
all inboxes | Powered by JetHome®