I am using JNotify in one of my Projects on a linux system (arm7). And it works great. If i change, rename, delete or create a File it throws an Interrupt. But I would like to us JNotify to get informed if the Linux System change a File by itself. I am using a BeagleBone (embeded Linux System). There is a file called value which contains the status of an InputPin (high, low). But if this file is changed by the system JNotify dosen't work... If I change the file by my self everything is ok... Does anyone know why the change wasn't recognize in the first case. Linux seems to use a special way to write the file... yet i dont't know how... But need to interrupt my main loop if this file changes. Or is there another solution?
Thanks