]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
proc.5: Clarify that boot arguments can be embedded in image
authorPaul E. McKenney <paulmck@kernel.org>
Fri, 30 Jun 2023 23:33:28 +0000 (16:33 -0700)
committerAlejandro Colomar <alx@kernel.org>
Sat, 8 Jul 2023 17:17:01 +0000 (19:17 +0200)
With the advent of the CONFIG_BOOT_CONFIG Kconfig option, kernel boot
arguments can now be embedded in the kernel image, either attached
to the end of initramfs or embedded in the kernel itself.  Document
this possibility in the /proc/cmdline entry of proc.5.

Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Cc: Michael Kerrisk <mtk.manpages@gmail.com>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Nick Desaulniers <ndesaulniers@google.com>
Cc: Vlastimil Babka <vbabka@suse.cz>
Cc: Johannes Weiner <hannes@cmpxchg.org>
Reviewed-by: Masami Hiramatsu <mhiramat@kernel.org>
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man5/proc.5

index 723154edbb14c0636bb4611292a2d06cd7c165b6..04b45ccb7eb552264b81e30f90ab12d51381fbbf 100644 (file)
@@ -3155,6 +3155,9 @@ Often done via a boot manager such as
 .BR lilo (8)
 or
 .BR grub (8).
+Any arguments embedded in the kernel image or initramfs via
+.B CONFIG_BOOT_CONFIG
+will also be displayed.
 .TP
 .IR /proc/config.gz " (since Linux 2.6)"
 This file exposes the configuration options that were used