mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [ANNOUNCE][PATCH] Kcfg - simple kernel configuration
@ 2007-05-02 21:41 Matt Ranon
  0 siblings, 0 replies; only message in thread
From: Matt Ranon @ 2007-05-02 21:41 UTC (permalink / raw)
  To: linux maillist

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2007-05-02 21:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-05-02 21:41 [ANNOUNCE][PATCH] Kcfg - simple kernel configuration Matt Ranon

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®