<br><br><div class="gmail_quote">On Sun, Mar 6, 2011 at 3:26 PM, Belisko Marek <span dir="ltr"><<a href="mailto:marek.belisko@gmail.com">marek.belisko@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Is there possibility to get some actual Documentation about fanotify interface<br>
(most of google results point to obsolete socket interface). I'm trying to use<br>
this (<a href="http://git.infradead.org/users/eparis/fanotify-example.git" target="_blank">http://git.infradead.org/users/eparis/fanotify-example.git</a>) example.<br>
<br>
Use 2.6.37 kernel with fanotify enabled trying to track file changes in my<br>
directory but no results when create new file of modify existing.<br>
<br>
Works only if point to existing file.<br>
<br>
Try sudo ./fanotify -o modify,open,close,access /home/* (end with<br>
Invalid argument)<br>
also without * at the end doesn't help.<br>
<br>
Any ideas why?<br>
<br>
Thanks in advance,<br>
<br>
Marek Belisko<br>
--<br>
as simple and primitive as possible<br>
-------------------------------------------------<br>
Marek Belisko - OPEN-NANDRA<br>
Freelance Developer<br>
<br>
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic<br>
Tel: <a href="tel:%2B421%20915%20052%20184">+421 915 052 184</a><br>
skype: marekwhite<br>
icq: 290551086<br>
web: <a href="http://open-nandra.com" target="_blank">http://open-nandra.com</a><br>
<br>
_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
</blockquote></div><br><div>Hi Belisko,</div><div><br></div><div>Did you find any documentation/ sample programs related to fanotify. I also wanted to know about these new APIs.</div><div><br></div><div>-Vinit</div>