[Fwd: Re: [klibc] kinit]

H. Peter Anvin hpa at zytor.com
Tue Oct 26 22:24:05 PDT 2004

Daniel Thaler wrote:
> I think it would make sense to export the root= parameter to userspace. 
> The reason for not exporting parameters that are understood by the 
> kernel is probably that the kernel uses those parameters and userspace 
> does not need them. However in the case of initramfs the kernel does 
> _not_ use the root parameter, so init should get it because init _can_ 
> use it.
> Maybe the entire commandline could even be exported? Init could then 
> pass that string to the modules it loads, allowing people to pass module 
> parameters that way. I imagine that might be useful for installers and 
> such.

I see no reason why not.  This is also something that can be done in kinit.

Of course, there is always /proc/cmdline.


More information about the klibc mailing list