Re: File read

2001-05-31 Thread Lee Ho
I wrote some functions for file handling in kernel module. Check the source : http://linuxkernel.to/klib/klib/src/fileio.c (The basic idea is from khttpd) This is part of my personal klib (kernel library) project. You can download the full source : http://klib.sourceforge.net/download/klib.tar

Re: File read.

2001-05-28 Thread Davide Libenzi
On 28-May-2001 Mike Castle wrote: > On Mon, May 28, 2001 at 11:26:31AM -0700, Davide Libenzi wrote: >> >> 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 dir

Re: File read.

2001-05-28 Thread Mike Castle
On Mon, May 28, 2001 at 11:26:31AM -0700, Davide Libenzi wrote: > > 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. Us

RE: File read.

2001-05-28 Thread Davide Libenzi
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 - To unsubscribe from th