mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Matt Ranon <mranon@javadevices.com>
To: linux maillist <linux-kernel@vger.kernel.org>
Subject: [ANNOUNCE][PATCH] Kcfg - simple kernel configuration
Date: Wed, 2 May 2007 14:41:30 -0700 (PDT)	[thread overview]
Message-ID: <589896.50284.qm@web88108.mail.re2.yahoo.com> (raw)

The Jem team is pleased to announce the release of Kcfg, an in-kernel simple 
configuration utility. Kcfg is intended for the same class of special embedded 
Linux applications as Kcli is, i.e., those applications with no user space. If 
you don't understand what kind of application that is, look at Jem itself 
at http://www.javadevices.com which is on schedule for release in August. 
Kcfg is the second spin-off from the Jem project.

Kcfg is a kernel loadable module that reads a configuration file of name/value 
pairs, and allows other kernel modules to query those values. Once a 
configuration file has been loaded by the module, other kernel modules can 
query the configuration values by name, set values, add new values, store 
the current values back to the configuration file and add callbacks to values 
in order to be informed when the values are modified.

To head off the obvious criticisms, be aware of the following:
1) We know about module parameters, but, when you have 20 configurable 
items, module parameters become impractical. Also, when you have no user 
space from which to load the module, parameters are even less practical.
2) We know about the other possibilities like sysfs, or the firmware mechanism, 
but we don't have a user space so that doesn't work for us either.

As always, and just like the GPL says, we don't claim that this code is fit for any 
purpose, nor do we claim that it is a better way of doing things. However, judging 
by the amount of downloads of Kcli,we think we were quite right in our assumption 
that people are doing some pretty weird things with the Linux kernel, and this 
code is for them.

Finally, don't even bother thinking about including this code in the mainline kernel, 
as it breaks some rules, like reading and writing files in a kernel module. We 
think the greatest fun of the Linux kernel, is you get to break all the rules.

The patch is available at: ftp://www.javadevices.com/kcfg

As a side note, updates to Kcli  have been posted at: ftp://www.javadevices.com/kcli 

MRanon

                 reply	other threads:[~2007-05-02 21:41 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=589896.50284.qm@web88108.mail.re2.yahoo.com \
    --to=mranon@javadevices.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®