summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@kernel.org>2023-06-30 16:33:28 -0700
committerAlejandro Colomar <alx@kernel.org>2023-07-08 19:17:01 +0200
commitd4cbaa9130ed5b553bb972d9fee4d6bf371070f3 (patch)
treef9e27d0832bb570601105f2f87938742b32b07a0
parent6d5b79f25fc891ab7f56307e0317a3789a7e7a74 (diff)
proc.5: Clarify that boot arguments can be embedded in image
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>
-rw-r--r--man5/proc.53
1 files changed, 3 insertions, 0 deletions
diff --git a/man5/proc.5 b/man5/proc.5
index 723154edb..04b45ccb7 100644
--- a/man5/proc.5
+++ b/man5/proc.5
@@ -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