Skip to contentSkip to conversation

File read.

DISCUSSION Anil Kumar 3 participants 4 messages May 28, 2001

lore
Share & tools
lore

Anil Kumar

author
#0 lore raw

hi,
How do i read file within the kernel modules. I hope we can't use the FS open... calls within kernel.
thanks

#2 lore raw
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
#3 lore raw
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