mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: mojtaba <kernelppc@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: module init data
Date: Mon, 18 Jan 2010 15:01:56 +0100	[thread overview]
Message-ID: <1dec3f771001180601jd511ab0g51aaaf8ed2195e9d@mail.gmail.com> (raw)

Hi there,

I have a kernel modules which needs to maintain a table of some
information. the data in the table can be changed during the system
run and some new raws might be added to the  table. The table also
must be initialized at the system startup with the values from the
previous run.

As using files is not good in kernel mode, how can I load the data at
the startup and store them as they changed? These information are
device related. Can I use sysfs for this issue? Is there any tutorial
on how to do that?

Regards,
moji

             reply	other threads:[~2010-01-18 14:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-01-18 14:01 mojtaba [this message]
2010-01-19 14:19 ` Américo Wang

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1dec3f771001180601jd511ab0g51aaaf8ed2195e9d@mail.gmail.com \
    --to=kernelppc@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®