lkml.org 
[lkml]   [2013]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Would an "information module" be useful?
Date
> 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.

2. Documentation
Module parameters can also be explained in the source files.
http://tldp.org/LDP/lkmpg/2.6/html/x323.html

3. Is a corresponding check for specific data types "nice"?
http://www.linux-magazin.de/Ausgaben/2004/05/Kern-Technik/%28offset%29/2



How are the chances to clarify this implementation detail: In which subdirectory
should a kernel module be stored if it will not manage any hardware?

Regards,
Markus



\
 
 \ /
  Last update: 2013-09-22 22:01    [W:0.036 / U:0.088 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site