Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Mon, 16 Sep 2002 20:47:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Mon, 16 Sep 2002 20:47:51 -0400 Received: from gw.lowendale.com.au ([203.26.242.120]:7952 "EHLO marina.lowendale.com.au") by vger.kernel.org with ESMTP id ; Mon, 16 Sep 2002 20:47:50 -0400 Date: Tue, 17 Sep 2002 10:53:32 +1000 (EST) From: Neale Banks To: Chin-Tser Huang cc: linux-kernel@vger.kernel.org Subject: Re: save variables to hard disk at kernel mode In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 778 Lines: 23 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. HTH, Neale. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/