Re: [PLUG] Kernel level file calling

2010-11-20 Thread Abhijit Bhopatkar
Doubt: I have a file foo.bar on my disk, which is handled by an application foo. Say double click on it or access it from command line as foo foo.bar. Now can I write a kernel module or any other application as a daemon, which intercepts this call and reads the contents of my file and then pass

Re: [PLUG] Kernel level file calling

2010-11-19 Thread Manas Alekar
> Now can I write a kernel module or any other application as a daemon, which > intercepts this call and reads the contents of my file and then passes back > the control to foo. Your question is not well formed. Read the data in the module? And? Even so, you don't need to write a kernel module.

[PLUG] Kernel level file calling

2010-11-19 Thread आदित्य लघाटे
Hello, Today while discussing some things with a colleague, I came across a few points which I have doubts about. Thought I will ask here and clarify them. Doubt: I have a file foo.bar on my disk, which is handled by an application foo. Say double click on it or access it from command line as foo