Re: [GIT PULL] bootconfig: Updates for 6.6

From: Paul E. McKenney
Date: Sun Sep 03 2023 - 07:51:17 EST


On Sun, Sep 03, 2023 at 05:32:21PM +0900, Masami Hiramatsu wrote:
> On Sun, 3 Sep 2023 13:16:19 +0900
> Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx> wrote:
>
> > If the user need to know the bootloader command line string when the
> > bootconfig is enabled, what about adding a special line to the
> > /proc/bootconfig, e.g.
> >
> > bootloader.parameters = "<params from bootloader>"
> >
> > In this case, it will be only shown when the bootconfig is enabled, and
> > normal /proc/cmdline user does not need to care about that. Of course
> > bootconfig can drop "bootloader" items.
>
> Or more better for both bootconfig and reader, it is easy to add bootloader
> parameter as a comment.
>
> # Parameters from bootloader:
> # root=UUID=ac0f0548-a69d-43ca-a06b-7db01bcbd5ad ro quiet ...

>From what I can see, this would work quite well!

Thanx, Paul