<br><br><div class="gmail_quote">On Wed, Mar 16, 2011 at 1:23 AM, 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;">
Hi,<br>
<br>
please don't bottom post ;)<br>
<div><div></div><div class="h5"><br>
On Wed, Mar 16, 2011 at 1:50 AM, vinit dhatrak <<a href="mailto:vinit.dhatrak@gmail.com">vinit.dhatrak@gmail.com</a>> wrote:<br>
><br>
><br>
> On Sun, Mar 6, 2011 at 3:26 PM, Belisko Marek <<a href="mailto:marek.belisko@gmail.com">marek.belisko@gmail.com</a>><br>
> wrote:<br>
>><br>
>> Is there possibility to get some actual Documentation about fanotify<br>
>> interface<br>
>> (most of google results point to obsolete socket interface). I'm trying to<br>
>> 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>
><br>
> Hi Belisko,<br>
> Did you find any documentation/ sample programs related to fanotify. I also<br>
> wanted to know about these new APIs.<br>
</div></div>Well no documentation could be found anywhere. Maybe need to wait some time<br>
when will be put to kernel Documentation.<br>
> -Vinit<br>
<br>
good luck,<br>
<br>
marek<br>
<font color="#888888"><br>
<br>
--<br>
</font><div><div></div><div class="h5">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>
</div></div></blockquote></div><div><br></div><div><br></div>Hii, <div><br></div><div><span class="Apple-style-span" style="border-collapse: collapse; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; font-family: Arial, 'Lucida Grande', sans-serif; font-size: 12px; line-height: 15px; "><p style="margin-top: 0.6em; margin-right: 1ex; margin-bottom: 0.6em; margin-left: 1ex; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; ">
3. Please do not TOP POST. On almost all open source mailing list top-posting is considered RUDE. <a id="line-74" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-decoration: none; color: rgb(0, 102, 204); background-color: transparent; "></a></p>
<div>(Source: <a href="http://kernelnewbies.org/mailinglistguidelines">http://kernelnewbies.org/mailinglistguidelines</a>)</div><div><br></div><div>-Vinit</div><a id="line-75" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; text-decoration: none; color: rgb(0, 102, 204); background-color: transparent; "></a></span></div>