Re: Unable to read/write in kernel module

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

 



On 12/18/06, Junhan Zhang (junhan) <junhan@xxxxxxxxx> wrote:



I read the FAQ. Technically, it is right, but useless.8-( I have a kernel
module to do the statistic for compactflash partition 1, and have to save to
partition 2. I am using kernel 2.6.11 . Do you have any good idea to do it?
Thanks.

What's wrong with pumping the statistics out via a device node (e.g.
/dev/mystats) and having a user process write the information to a
permanent location (e.g. cat /dev/mystats > /dev/hda2)?

- Bjoern

--
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