RE: /dev/misc/inotify 0.11 [adr]
From: Robert Love (rml_at_novell.com)
Date: 10/06/04
- Previous message: Nathan Bryant: "Re: Linux-2.6.5-1.358 SMP"
- Next in thread: David Busby: "RE: /dev/misc/inotify 0.11 [adr]"
- Maybe reply: Robert Love: "RE: /dev/misc/inotify 0.11 [adr]"
- Reply: David Busby: "RE: /dev/misc/inotify 0.11 [adr]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: David Busby <busby@edoceo.com> Date: Tue, 05 Oct 2004 19:11:33 -0400
On Tue, 2004-10-05 at 16:10 -0700, David Busby wrote:
> Here's another issue, when reading from PERL sometimes the filename part
> of the struct inotify_event is wayyyy off. I'm reading 268 bytes at a
> time, first 12 are the wd,mask and cookie (what is cookie anyways?) then
> 256 for the file name. Isn't that correct? I'll try to get the
> inotify_test.c program to reproduce.
The cookie is going to be used to connection two related events, such as
MOVED_TO and MOVED_FROM. Right now it is unused.
We've never seen this problem in inotify_test or Gamin or Beagle ... so
I would suspect this is related to your specific Perl example, but
please let me know if you find anything.
Best,
Robert Love
-
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/
- Previous message: Nathan Bryant: "Re: Linux-2.6.5-1.358 SMP"
- Next in thread: David Busby: "RE: /dev/misc/inotify 0.11 [adr]"
- Maybe reply: Robert Love: "RE: /dev/misc/inotify 0.11 [adr]"
- Reply: David Busby: "RE: /dev/misc/inotify 0.11 [adr]"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|