afaik owfs will not check the bus until you do an ls (or something else).
so it is not there until you check it. you cannot avoid checking the
folder in an infinite loop.
Vajk
On Fri, Mar 14, 2014 at 2:09 PM, Rob <[email protected]> wrote:
> I am trying to make a punch clock with owfs and iButtons. Therefore I want
> to call a link when a new iButton is put on the reader. When I look at the
> owfs uncached directory, everything works as expected. An iButton is
> detected immediately when put on the reader, and also is the directory of
> the iButton removed immediately after the iButton is removed.
>
> I tried to detect changed on the uncached directory with pyinotify
> (inotify). Unfortunately pyinotify doesn't detect a new directory in the
> owfs (Pynotify detects when I give a ls command from the shell in the
> uncached directory so something is working)
>
> /usr/lib/owfs/owfs version:
> 2.8p15
> libow version:
> 2.8p15
>
> Is inotify the way to go for doing what I want, or is there a better
> solution?
>
> If owfs should be working with inotify, how do I set owfs up?
>
> Regards,
>
> Rob
>
>
> ------------------------------------------------------------------------------
> Learn Graph Databases - Download FREE O'Reilly Book
> "Graph Databases" is the definitive new guide to graph databases and their
> applications. Written by three acclaimed leaders in the field,
> this first edition is now available. Download your free book today!
> http://p.sf.net/sfu/13534_NeoTech
> _______________________________________________
> Owfs-developers mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/owfs-developers
>
>
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers