File read.
hi,
How do i read file within the kernel modules. I hope we can't use the FS open... calls within kernel.
thanks
Quoted 3 lines · On 28-Jun-2001 Anil Kumar wrote:
hi,
How do i read file within the kernel modules. I hope we can't use the FS open... calls within kernel.
You can access fs methods directly.
Look at this newbie article :
http://www.linux-mag.com/2000-11/gear_01.html
- Davide
Quoted 7 lines · Davide Libenzi
Quoted 3 lines · On 28-Jun-2001 Anil Kumar wrote:
hi,
How do i read file within the kernel modules. I hope we can't use the FS open... calls within kernel.You can access fs methods directly.
But generally you don't want to.
Use a user mode application to feed you the data instead.
mrc
Signature · 4 lines
Mike Castle Life is like a clock: You can work constantly [email protected] and be right all the time, or not work at all www.netcom.com/~dalgoda/ and be right at least twice a day. -- mrc We are all of us living in the shadow of Manhattan. -- Watchmen
Quoted 10 lines · On 28-May-2001 Mike Castle wrote:
Quoted 7 lines · Davide Libenzi
Quoted 3 lines · On 28-Jun-2001 Anil Kumar wrote:
hi,
How do i read file within the kernel modules. I hope we can't use the FS open... calls within kernel.You can access fs methods directly.
But generally you don't want to.
I usually don't but, you know, usually people like to know that they could ...
- Davide