Re: save variables to hard disk at kernel mode

From: Neale Banks (
Date: Mon Sep 16 2002 - 19:53:32 EST

On Mon, 16 Sep 2002, Chin-Tser Huang wrote:

> I would like to implement at the kernel a save that
> can periodically store the value of some variables
> to the hard disk. Could anyone please tell me what
> function can I use to achieve this? Will this save
> block the operation of other functions? Thank you
> very much for your help!

Write a module to publish the variables, and do teh rest in user-space
(e.g. cron-job)?

The book "Linux Device Drivers" (2nd Ed) does this kind of thing as an
example for PCI data.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Mon Sep 23 2002 - 22:00:18 EST