Re: Would an "information module" be useful?

2013-09-22 Thread Richard Weinberger
Markus, Am 23.09.2013 04:38, schrieb Markus Elfring: > Would it become useful to move "drivers" which do not manage hardware to a > separate directory? > Should such source files belong to a different software category (or "class")? IMHO it would be not very useful. We have more serious issues to

Re: Would an "information module" be useful?

2013-09-22 Thread Markus Elfring
> In the systemd case we have to ensure that we never ever merge a module named > "systemd". Interesting ... > We have all kinds of strange modules/drivers. Usually you don't have to think > whether your module is a "ordinary" driver or not... Would it become useful to move "drivers" which do

Re: Would an "information module" be useful?

2013-09-22 Thread Richard Weinberger
Am 22.09.2013 22:30, schrieb Markus Elfring: >> You can do all parsing in user space too. > > Is it questionable when a custom prefix of a boot command-line parameter can > not > be mapped to a kernel module? No. In the systemd case we have to ensure that we never ever merge a module named "sys

Re: Would an "information module" be useful?

2013-09-22 Thread Markus Elfring
> You can do all parsing in user space too. Is it questionable when a custom prefix of a boot command-line parameter can not be mapped to a kernel module? > But I'm sure it will not get merged. Thanks for your feedback. > All you need is a dummy module with a few module_param()s. My ideas we

Re: Would an "information module" be useful?

2013-09-22 Thread Richard Weinberger
Markus, Am 22.09.2013 21:51, schrieb Markus Elfring: >> Why can't you use /proc/cmdline? > > Thanks for your suggestion. > > >> (see parse_proc_cmdline()) > > How do you think about reasons like the following? > > 1. I would prefer to avoid the repeated parsing of boot command-line > paramet

Re: Would an "information module" be useful?

2013-09-22 Thread Markus Elfring
> Why can't you use /proc/cmdline? Thanks for your suggestion. > (see parse_proc_cmdline()) How do you think about reasons like the following? 1. I would prefer to avoid the repeated parsing of boot command-line parameters because the reuse of the kernel infrastructure should be better here.

Re: Would an "information module" be useful?

2013-09-22 Thread richard -rw- weinberger
On Sun, Sep 22, 2013 at 7:05 PM, Markus Elfring wrote: > Hello, > > I became interested in an use case where I want to pass customised data from > the > boot command-line to other user processes. I have read the available > documentation in the way that kernel modules provide such a means to get

Would an "information module" be useful?

2013-09-22 Thread Markus Elfring
Hello, I became interested in an use case where I want to pass customised data from the boot command-line to other user processes. I have read the available documentation in the way that kernel modules provide such a means to get additional parameters recorded. I have got the understanding that a