special console handling

Scott James Remnant scott at netsplit.com
Sat Jan 15 00:50:30 UTC 2011


On Fri, Jan 14, 2011 at 11:43 PM, Clint Byrum <clint at ubuntu.com> wrote:
> As I read it, the kernel has been patched to provide kernel arguments as
> environment variables if they are specified as  foo=bar. So
> console=ttyS0,38400 would end up as an environment varialble "console"
> with the value of "ttyS0,38400", for init only.
>
I'm not actually sure the kernel passes $console in this way, I think
it's one of the ones it uses for himself and never reveals.

Let's step back a moment, what are the possible console= variables?
Can multiple console= variables be specified, what happens then?  Is
the first or last used?

Scott



More information about the upstart-devel mailing list