Re: kernel param and KBUILD_MODNAME name-munging mess

From: Alex Riesen (alexander.riesen@synopsys.COM)
Date: Wed Jan 22 2003 - 06:19:05 EST


Mikael Pettersson, Wed, Jan 22, 2003 11:20:01 +0100:
> Ingo Oeser writes:
> > On Mon, Jan 20, 2003 at 02:41:03PM +0100, Mikael Pettersson wrote:
> > > Booting kernel 2.5.59 with the "-s" kernel boot parameter
> > > doesn't get you into single-user mode like it should.
> >
> > Try using "s" instead. This works since ever. I didn't even know,
> > that the other option exists, too.
>
> That's a workaround for this particular case, but the name-munging
> is still wrong and broken.
>
> With "foo-bar=fie-fum" passed to the kernel, "foo_bar=fie-fum" is
> what's put into init's environment. (I checked.)

 $ foo-bar=fie-fum
  bash: foo-bar=fie-fum: command not found

 $ foo_bar=fie-fum

I just mean to say, it is not exactly usual names one
get to see in an ordinary environment.

Still, i think you are right, it is somewhat unexpected.

-alex
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Jan 23 2003 - 22:00:29 EST