Skip to contentSkip to conversation

Doc: Add default behavior of panic parameter in kernel.txt

PATCH In review Masanari Iida 2 participants 2 messages Jan 23, 2015 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Doc: Add default behavior of panic parameter in kernel.txt

This patch adds default behavior of panic parameter in kernel.txt

---
 Documentation/sysctl/kernel.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/sysctl/kernel.txt +2 -0
index 75511ef..3cae2bd 100644
@@ -527,6 +527,8 @@ panic:
 The value in this file represents the number of seconds the kernel
 waits before rebooting on a panic. When you use the software watchdog,
 the recommended setting is 60.
+A value of 0 will disable rebooting on a panic.
+The default is 0.
 
 ==============================================================
 
Signature · 1 line
2.3.0.rc1
#1 lore raw
Quoted 12 lines · Masanari Iida

This patch adds default behavior of panic parameter in kernel.txt

---
 Documentation/sysctl/kernel.txt | 2 ++
 1 file changed, 2 insertions(+)
Documentation/sysctl/kernel.txt +0 -0
index 75511ef..3cae2bd 100644

Documentation/sysctl/kernel.txt panic: · line 531

Quoted 5 lines
Documentation/sysctl/kernel.txt +2 -0
@@ -527,6 +527,8 @@ panic:
 The value in this file represents the number of seconds the kernel
 waits before rebooting on a panic. When you use the software watchdog,
 the recommended setting is 60.
+A value of 0 will disable rebooting on a panic.
+The default is 0.

Just copy the Kconfig text for uniformity (well, almost - it might need adjusting to fit the tone/nomenclature of that file):

A value of 0, then we wait forever. A timeout value n > 0 will wait n seconds before rebooting, while a timeout value n < 0 will reboot immediately.

Signature · 5 lines
Regards/Gruss,
    Boris.

ECO tip #101: Trim your mails when you reply.
--