Re: [GIT PULL] bootconfig: Updates for 6.6

From: Google
Date: Sun Sep 03 2023 - 04:32:49 EST


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 ...

Thank you,

--
Masami Hiramatsu (Google) <mhiramat@xxxxxxxxxx>