Is there possibility to get some actual Documentation about fanotify interface (most of google results point to obsolete socket interface). I'm trying to use this (http://git.infradead.org/users/eparis/fanotify-example.git) example. Use 2.6.37 kernel with fanotify enabled trying to track file changes in my directory but no results when create new file of modify existing. Works only if point to existing file. Try sudo ./fanotify -o modify,open,close,access /home/* (end with Invalid argument) also without * at the end doesn't help. Any ideas why? Thanks in advance, Marek Belisko -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com
On Sun, Mar 6, 2011 at 3:26 PM, Belisko Marek <marek.belisko@gmail.com>wrote:
Is there possibility to get some actual Documentation about fanotify interface (most of google results point to obsolete socket interface). I'm trying to use this (http://git.infradead.org/users/eparis/fanotify-example.git) example.
Use 2.6.37 kernel with fanotify enabled trying to track file changes in my directory but no results when create new file of modify existing.
Works only if point to existing file.
Try sudo ./fanotify -o modify,open,close,access /home/* (end with Invalid argument) also without * at the end doesn't help.
Any ideas why?
Thanks in advance,
Marek Belisko -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Belisko, Did you find any documentation/ sample programs related to fanotify. I also wanted to know about these new APIs. -Vinit
Hi, please don't bottom post ;) On Wed, Mar 16, 2011 at 1:50 AM, vinit dhatrak <vinit.dhatrak@gmail.com> wrote:
On Sun, Mar 6, 2011 at 3:26 PM, Belisko Marek <marek.belisko@gmail.com> wrote:
Is there possibility to get some actual Documentation about fanotify interface (most of google results point to obsolete socket interface). I'm trying to use this (http://git.infradead.org/users/eparis/fanotify-example.git) example.
Use 2.6.37 kernel with fanotify enabled trying to track file changes in my directory but no results when create new file of modify existing.
Works only if point to existing file.
Try sudo ./fanotify -o modify,open,close,access /home/* (end with Invalid argument) also without * at the end doesn't help.
Any ideas why?
Thanks in advance,
Marek Belisko -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Belisko, Did you find any documentation/ sample programs related to fanotify. I also wanted to know about these new APIs.
Well no documentation could be found anywhere. Maybe need to wait some time when will be put to kernel Documentation.
-Vinit
good luck, marek -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com
On Wed, Mar 16, 2011 at 1:23 AM, Belisko Marek <marek.belisko@gmail.com>wrote:
Hi,
please don't bottom post ;)
On Wed, Mar 16, 2011 at 1:50 AM, vinit dhatrak <vinit.dhatrak@gmail.com> wrote:
On Sun, Mar 6, 2011 at 3:26 PM, Belisko Marek <marek.belisko@gmail.com> wrote:
Is there possibility to get some actual Documentation about fanotify interface (most of google results point to obsolete socket interface). I'm trying
to
use this (http://git.infradead.org/users/eparis/fanotify-example.git) example.
Use 2.6.37 kernel with fanotify enabled trying to track file changes in my directory but no results when create new file of modify existing.
Works only if point to existing file.
Try sudo ./fanotify -o modify,open,close,access /home/* (end with Invalid argument) also without * at the end doesn't help.
Any ideas why?
Thanks in advance,
Marek Belisko -- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@kernelnewbies.org http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
Hi Belisko, Did you find any documentation/ sample programs related to fanotify. I also wanted to know about these new APIs. Well no documentation could be found anywhere. Maybe need to wait some time when will be put to kernel Documentation. -Vinit
good luck,
marek
-- as simple and primitive as possible ------------------------------------------------- Marek Belisko - OPEN-NANDRA Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic Tel: +421 915 052 184 skype: marekwhite icq: 290551086 web: http://open-nandra.com
Hii, 3. Please do not TOP POST. On almost all open source mailing list top-posting is considered RUDE. (Source: http://kernelnewbies.org/mailinglistguidelines) -Vinit
participants (2)
-
Belisko Marek -
vinit dhatrak