From: Andrew Morton <akpm@linux-foundation.org>
To: Matt Ranon <mranon@javadevices.com>
Cc: linux maillist <linux-kernel@vger.kernel.org>
Subject: Re: [ANNOUNCE][PATCH] Kcli - Kernel command line interface.
Date: Mon, 23 Apr 2007 16:33:16 -0700 [thread overview]
Message-ID: <20070423163316.d197bf16.akpm@linux-foundation.org> (raw)
In-Reply-To: <875184.9239.qm@web88101.mail.re2.yahoo.com>
On Mon, 23 Apr 2007 14:31:39 -0700 (PDT)
Matt Ranon <mranon@javadevices.com> wrote:
>
(text reformatted to less than 80 cols. Please, we'll get along a lot
better if you don't send 1000-column emails)
> The Jem team is pleased to announce the release of Kcli, an in-kernel
> command line interface. Kcli is intended for a special class of embedded
> Linux applications. The Linux kernel has become the defacto standard OS
> for embedded applications. This means that Linux is getting bent in some
> ways that may appear strange to some. One of these ways, is embedded
> applications that do not use user space. User space consists of a
> statically linked, one line program, that simply sleeps forever,
> transforming Linux into a classical embedded RTOS. VxWorks developers will
> understand what we are talking about, and they may recall how much they
> depend on the VxWorks shell. Kcli attempts to meet the need for a shell
> for this class of embedded Linux applications.
Alas, we are not vxworks developers, and probably most of us know zero
about the use-cases for this feature, why embedded systems find it
valuable, etc.
So it's up to you to tell us all this.
> Kcli provides a command line environment that runs in the kernel, and that
> can be extended with custom commands registered by other kernel modules.
> We have found Kcli invaluable for our development, and we are releasing the
> patch, in case others find it useful.
>
> Kcli is directly derived from libcli written by David Parrish and Brendan
> O'Dea, and the regular expression support is directly derived from diet
> libc written by Felix von Leitner.
>
> The Jem team fully understands that this kind of patch may not be
> appropriate for inclusion in the mainline kernel code. We have no
> expectation that it will be, and we leave that decision fully in the hands
> of those responsible.
We don't have enough information to make that call.
> Nonetheless, we feel that others may find it useful,
> and we will also appreciate any appropriate feedback from the community.
>
> Kcli is standalone, and modifies no kernel files, except for the Kconfig
> and Makefile modifications required to wire it into the configuration and
> build.
The obvious question is: what's _wrong_ with doing all this in some
cut-down userspace environment like busybox? Why is this stuff better?
Obviously some embedded developers have considered that option and
have rejected it. But we do need to be told, at length, why that
decision was made.
next prev parent reply other threads:[~2007-04-23 23:33 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-04-23 21:31 [ANNOUNCE][PATCH] Kcli - Kernel command line interface Matt Ranon
2007-04-23 22:06 ` H. Peter Anvin
2007-04-23 23:33 ` Andrew Morton [this message]
-- strict thread matches above, loose matches on Subject: below --
2007-04-24 1:12 Matt Ranon
2007-04-24 2:35 ` Satyam Sharma
2007-04-24 12:36 ` Tilman Schmidt
2007-04-24 14:34 ` Sam Ravnborg
2007-04-28 17:44 ` Matt Mackall
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=20070423163316.d197bf16.akpm@linux-foundation.org \
--to=akpm@linux-foundation.org \
--cc=linux-kernel@vger.kernel.org \
--cc=mranon@javadevices.com \
/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