Re: read/write from kernel module

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



  Take a look at Making System Calls from kernel space at this site

 www.linux-mag.com/2000-11/gear_01.html

  You can call sys_read, sys_write directly from your module. 

 HTH,
raghu

On Thu, 1 May 2003, Haijin Yan wrote:

> Hi,
>   I have this kernel module, when I unload it, I want to save some meta
> data to some place and read the meta in again when the next time I load
> the module again. Since meta are huge, I can not pass them as parameters.
> Coud I do kernel read/write file system? or any other ideas about how to
> do it?
> 
> Any comments is highly appreciated.
> 
> Best,
> -Haijin
> 
> 
> --
> Kernelnewbies: Help each other learn about the Linux kernel.
> Archive:       http://mail.nl.linux.org/kernelnewbies/
> FAQ:           http://kernelnewbies.org/faq/
> 

--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/kernelnewbies/
FAQ:           http://kernelnewbies.org/faq/



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux