I després de mirar la llista d'events monitoritzables:

http://trac.dbzteam.org/pyinotify/pyinotify-api/

i jugar una mica amb exemples al tmp, veig que no em diu "qui" està
tocant el fitxer:

[Pyinotify DEBUG] Event queue size: 32
[Pyinotify DEBUG] <_RawEvent cookie=0 mask=0x40000020L name='' wd=1 >
[Pyinotify DEBUG] <_RawEvent cookie=0 mask=0x40000010L name='' wd=1 >
<Event dir=True mask=0x40000020L maskname=IN_OPEN|IN_ISDIR name='' path=/tmp 
pathname=/tmp wd=1 >
<Event dir=True mask=0x40000010L maskname=IN_CLOSE_NOWRITE|IN_ISDIR name='' 
path=/tmp pathname=/tmp wd=1 >
[Pyinotify DEBUG] Event queue size: 32
[Pyinotify DEBUG] <_RawEvent cookie=0 mask=0x40000020L name='' wd=1 >
[Pyinotify DEBUG] <_RawEvent cookie=0 mask=0x40000010L name='' wd=1 >
<Event dir=True mask=0x40000020L maskname=IN_OPEN|IN_ISDIR name='' path=/tmp 
pathname=/tmp wd=1 >
<Event dir=True mask=0x40000010L maskname=IN_CLOSE_NOWRITE|IN_ISDIR name='' 
path=/tmp pathname=/tmp wd=1 >
[Pyinotify DEBUG] Event queue size: 32
[Pyinotify DEBUG] <_RawEvent cookie=0 mask=0x200L name=null wd=1 >
<Event dir=False mask=0x200L maskname=IN_DELETE name=null path=/tmp 
pathname=/tmp/null wd=1 >


gràcies per les respostes!

-- 
Arnau Bria
http://blog.emergetux.net
Bombing for peace is like fucking for virginity
--
_______________________________________________
Comandob mailing list
[email protected]
http://lists.badopi.org/mailman/listinfo/comandob

Responder a