RE: /dev/misc/inotify 0.11 [adr]

From: David Busby (busby_at_edoceo.com)
Date: 10/06/04

  • Next message: Micha Feigin: "Re: 2.6.9-rc3 lost cdrom"
    To: "'Robert Love'" <rml@novell.com>
    Date:	Tue, 5 Oct 2004 16:21:49 -0700
    
    

    It's my PERL, I've just run a test. inotify_test.c works correctly and
    shows the proper filenames. My PERL script is sometims dropping the
    first character, I've not been able to re-product the full junk ouput
    (it was all Java source code!?). I'll keep hunting. Is there a place I
    can subscribe to the inotify-announce list?

    /djb

    > -----Original Message-----
    > From: Robert Love [mailto:rml@novell.com]
    > Sent: Tuesday, October 05, 2004 4:12 PM
    > To: David Busby
    > Cc: linux-kernel@vger.kernel.org; ttb@tentacle.dhs.org
    > Subject: RE: /dev/misc/inotify 0.11 [adr]
    >
    >
    > 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/


  • Next message: Micha Feigin: "Re: 2.6.9-rc3 lost cdrom"

    Relevant Pages

    • RE: /dev/misc/inotify 0.11 [adr]
      ... On Tue, 2004-10-05 at 16:21 -0700, David Busby wrote: ... > shows the proper filenames. ... My PERL script is sometims dropping the ... send the line "unsubscribe linux-kernel" in ...
      (Linux-Kernel)
    • [perl-python] 20050121 file reading & writing
      ... # reading the one line ... # proper in large programs. ... # or in Python terminal, ... # in perl, similar functionality exists. ...
      (comp.lang.perl.misc)
    • [perl-python] 20050121 file reading & writing
      ... # reading the one line ... # proper in large programs. ... # or in Python terminal, ... # in perl, similar functionality exists. ...
      (comp.lang.python)
    • Re: Perl 5.8.0
      ... I don't know about the others, but my mind reading skills are minimal and ... Cannot find the core of Perl library. ... Everything else lives in the \perl tree. ... are in PATH or LIBPATH. ...
      (comp.os.os2.programmer.tools)
    • opening a file for reading
      ... I am trying to open a file for reading but it does not work. ... # Array containing lines from the interface file ... binmode; # Grab binary data ... folder as the perl script. ...
      (perl.beginners)