doc: Update /proc/cmdline documentation to include boot config
authorPaul E. McKenney <paulmck@kernel.org>
Thu, 5 Oct 2023 17:17:45 +0000 (10:17 -0700)
committerMasami Hiramatsu (Google) <mhiramat@kernel.org>
Sat, 7 Oct 2023 01:44:21 +0000 (10:44 +0900)
Update the /proc/cmdline documentation to explicitly state that this
file provides kernel boot parameters obtained via boot config from the
kernel image as well as those supplied by the boot loader.

Link: https://lore.kernel.org/all/20231005171747.541123-1-paulmck@kernel.org/
Signed-off-by: Paul E. McKenney <paulmck@kernel.org>
Acked-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Jonathan Corbet <corbet@lwn.net>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Stephen Rothwell <sfr@canb.auug.org.au>
Cc: Arnd Bergmann <arnd@kernel.org>
Signed-off-by: Masami Hiramatsu (Google) <mhiramat@kernel.org>
Documentation/filesystems/proc.rst

index 2b59cff8be1798cf3ecb947cf3203ef1d3300ad2..36da7038a1c939cff88feebe7cc178dc826e004e 100644 (file)
@@ -691,7 +691,8 @@ files are there, and which are missing.
  apm          Advanced power management info
  buddyinfo    Kernel memory allocator information (see text)   (2.5)
  bus          Directory containing bus specific information
- cmdline      Kernel command line
+ cmdline      Kernel command line, both from bootloader and embedded
+              in the kernel image
  cpuinfo      Info about the CPU
  devices      Available devices (block and character)
  dma          Used DMS channels