Other than fanotify , I can achieve my requirement through a driver/module. If this can be achieved through a driver/module please provide me inputs to start.

Thanks,
Ravi

On Wed, Sep 21, 2011 at 10:27 AM, rohan puri <rohan.puri15@gmail.com> wrote:


On Wed, Sep 21, 2011 at 10:03 AM, V.Ravikumar <ravikumar.vallabhu@gmail.com> wrote:
Hi all,

Is it possible to write a module/driver which notifies file/directory change asynchronously along with user name(or with uid) who modified it.

inotify will do change notification but it will not provide uid who modified/created the file.

audit and inotify combination can work, but I'm looking for a better option than this.

Please help me.

Thanks,
Ravi

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

You can have a look at fanotify.

Refer http://lwn.net/Articles/339253/

Regards,
Rohan Puri