From fc82f0242c2eb7114a26febe4839c12097de82c8 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 21 Feb 2021 22:57:21 +0100 Subject: [PATCH] doc: another reformat of cmdline tips Signed-off-by: Joachim Wiberg --- doc/cmdline.md | 57 +++++++++++++++++++++++++------------------------- 1 file changed, 28 insertions(+), 29 deletions(-) diff --git a/doc/cmdline.md b/doc/cmdline.md index 7e0b5dad..270eea4b 100644 --- a/doc/cmdline.md +++ b/doc/cmdline.md @@ -7,41 +7,40 @@ passed on the Linux kernel command line. Not limited to Finit. The `bool` setting is one of `on, off, true false, 1, 0`. -* `debug`__ - Enable kernel debug. Debug messages are printed to the console - until Finit starts up. +* `debug`: Enable kernel debug. Debug messages are printed to the + console until Finit starts up. -* `finit.debug[=bool]` - Enable finit debug. This is operated independently of the kerne - debug setting. New as of Finit v4. +* `finit.debug[=bool]`: Enable finit debug. This is operated + independently of the kernel debug setting. New as of Finit v4. -* `finit.show_status[=bool]` - Control finit boot progress, including banner. +* `finit.show_status[=bool]`: Control finit boot progress, including + banner. -* `finit.status_style=` - Set Finit boot progress style, when enabled. +* `finit.status_style=`: Set Finit boot progress style, + when enabled. -* `init=/bin/sh` - Bypass system default init and tell kernel to start a shell. Note, - this shell is very limited and does not support signals and has no - job control. Recommend using, and modifying, `rescue` mode instead. +* `init=/bin/sh`: Bypass system default init and tell kernel to start a + shell. Note, this shell is very limited and does not support + signals and has no job control. Recommend using, and modifying, + `rescue` mode instead. -* `panic=SEC` - By default the kernel does not reboot after a kernel panic. This - setting will cause a kernel reboot after SEC seconds. +* `panic=SEC`: By default the kernel does not reboot after a kernel + panic. This setting will cause a kernel reboot after SEC seconds. -* `quiet` - Suppress kernel logging to console, except for warnings and errors. +* `quiet`: Suppress kernel logging to console, except for warnings and + errors. -* `rescue` - Start Finit rescue mode; no network, no `fsck` of file systems in - `/etc/fstab`, no `/etc/rc.local`, no `runparts`. The configuration - is read from `/etc/rescue.conf`, can be modified by the operator. +* `rescue`: Start Finit rescue mode; no network, no `fsck` of file + systems in `/etc/fstab`, no `/etc/rc.local`, no `runparts`. The + configuration is read from `/lib/finit/rescue.conf`, and can be + modified by the operator. -* `single`, or `S` - Single user mode, runlevel 1, in Finit. Useful to debug problems with - the regular runlevel. All services and TTYs in `[1]` will be started, - so a `tty [1] @console nologin` configuration presents you with a - root console without login. +* `single`, or `S`: Single user mode, runlevel 1, in Finit. Useful to + debug problems with the regular runlevel. All services and TTYs in + `[1]` will be started, so a `tty [1] @console nologin` configuration + presents you with a root console without login. -For more on kernel boot paramaters, see the man page `bootparam(7)`. +For more on kernel boot paramaters, see the man page [bootparam(7)][]. + + +[bootparam(7)]: https://www.man7.org/linux/man-pages/man7/bootparam.7.html