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

RE: Unable to read/write in kernel module



Title: Re: Unable to read/write in kernel module
That is a good idea. Thanks.


From: Björn [mailto:askadar@xxxxxxxxx]
Sent: Mon 12/18/2006 11:06 AM
To: Junhan Zhang (junhan)
Cc: kernelnewbies@xxxxxxxxxxxx
Subject: Re: Unable to read/write in kernel module

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