Re: [OCLUG-Tech] LKM: redirect file operations

2010-06-13 Thread Taoufik Dachraoui
Bill Strosberg wrote: > I can see the appeal of this, but this would certainly incur a > performance penalty (checking the name/inode) on every file operation > done on the system. Would you not be better to write a daemon function > to monitor the specific file, checking for alterations and perfo

Re: [OCLUG-Tech] LKM: redirect file operations

2010-06-13 Thread Bill Strosberg
Taoufik Dachraoui wrote: > Dear, > > I would like to create a Loadable Kernel Module that redirects the file > operations of a given filename > to the functions defined in the module such that whenever any process calls > a redirected file I can see the appeal of this, but this would certainly incu