summaryrefslogtreecommitdiff
path: root/initramfs-tools.8
diff options
context:
space:
mode:
authorFerenc Wagner <wferi@niif.hu>2010-02-09 17:16:04 +0100
committermaximilian attems <maks@debian.org>2010-02-22 22:35:58 +0100
commit323005e4b8468ab9f7151d883d3df7b75f130911 (patch)
tree3e53ecc01c87abc54ea46efe309b2f52cf08c868 /initramfs-tools.8
parent99b32f0831fe89f78144ca5a1da5c1e6a51dc667 (diff)
downloadinitramfs-tools-323005e4b8468ab9f7151d883d3df7b75f130911.tar.gz
initramfs-tools-323005e4b8468ab9f7151d883d3df7b75f130911.zip
initramfs-tools: make the panic argument available in the rescue shell
Sometimes one misses the error message printed by the panic helper function, for example when attaching a serial console after the fact, or if kernel messages resulting from udev activity obscure or scroll it away. Please consider adding some facility like the attached patch. Thanks, Feri. (closes: #569033) Signed-off-by: maximilian attems <maks@debian.org>
Diffstat (limited to 'initramfs-tools.8')
-rw-r--r--initramfs-tools.84
1 files changed, 4 insertions, 0 deletions
diff --git a/initramfs-tools.8 b/initramfs-tools.8
index 2ba022a..55d413a 100644
--- a/initramfs-tools.8
+++ b/initramfs-tools.8
@@ -504,6 +504,10 @@ set according relevant boot option.
\fB\fI break
Useful for manual intervention during setup and coding an boot script.
.TP
+\fB\fI REASON
+Argument passed to the \fIpanic\fP helper function. Use to find out why
+you landed in the initramfs shell.
+.TP
\fB\fI init
passes the path to init(8) usually /sbin/init.
.TP