Messages in this thread | | | Date | Sun, 3 Sep 2023 17:32:21 +0900 | From | Masami Hiramatsu (Google) <> | Subject | Re: [GIT PULL] bootconfig: Updates for 6.6 |
| |
On Sun, 3 Sep 2023 13:16:19 +0900 Masami Hiramatsu (Google) <mhiramat@kernel.org> 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@kernel.org>
| |