[Fwd: Re: [klibc] kinit]

H. Peter Anvin hpa at zytor.com
Tue Oct 26 18:44:58 PDT 2004


Daniel Thaler wrote:
> 
> There is also no good way of finding out what was passed as root= on the
> kernel command line. All other values are available to init as
> environment variables, but root=bla is not.
> Surely that is not intentional?
> 

That's incorrect, as far as I know; only parameters not understood by the 
kernel are exported into the environment.  Blah.

> Currently I'm mounting proc, reading cmdline and unmounting it again.
> That seems kind of ... inelegant.

It works, though, and has worked consistently for the last 9 years.

	-hpa



More information about the klibc mailing list