Skip to contentSkip to conversation

Documentation: sysrq, description of 'h' slightly inaccurate

PATCH RESEND In review Jesper Juhl 2 participants 2 messages Aug 4, 2007 – Aug 13, 2007 Documentation

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 Documentation: sysrq, description of 'h' slightly inaccurate

(Resending a patch from 21 May 2007 that never got any response)

Hello,

In Documentation/sysrq.txt, the description of 'h' says that any key not listed *above* will generate help. That's obviously not true since all the keys listed below 'h' will do what they are described to do, not display help. So change the text so that it says that any key not listed in the table will generate help, which is what really happens.

---

 Documentation/sysrq.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/sysrq.txt +2 -2
index ba328f2..865b271 100644
@@ -1,6 +1,6 @@
 Linux Magic System Request Key Hacks
 Documentation for sysrq.c
-Last update: 2007-MAR-14
+Last update: 2007-AUG-04
 
 *  What is the magic SysRq key?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -78,7 +78,7 @@ On all -  write a character to /proc/sysrq-trigger.  e.g.:
 'g'	- Used by kgdb on ppc and sh platforms.
 
 'h'     - Will display help (actually any other key than those listed
-          above will display help. but 'h' is easy to remember :-)
+          here will display help. but 'h' is easy to remember :-)
 
 'i'     - Send a SIGKILL to all processes, except for init.
 
Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · On Sat, 4 Aug 2007 20:31:27 +0200 Jesper Juhl wrote:

(Resending a patch from 21 May 2007 that never got any response)

Hello,

Quoted 8 lines

In Documentation/sysrq.txt, the description of 'h' says that any key not listed *above* will generate help. That's obviously not true since all the keys listed below 'h' will do what they are described to do, not display help. So change the text so that it says that any key not listed in the table will generate help, which is what really happens.

Probably due to my alphabetization of the sysrq keys.

Quoted 18 lines

---

 Documentation/sysrq.txt |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
Documentation/sysrq.txt +1 -1
index ba328f2..865b271 100644
@@ -1,6 +1,6 @@
 Linux Magic System Request Key Hacks
 Documentation for sysrq.c
-Last update: 2007-MAR-14
+Last update: 2007-AUG-04
 
 *  What is the magic SysRq key?
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Documentation/sysrq.txt On all - write a character to /proc/sysrq-trigger. e.g.:

Quoted 10 lines
Documentation/sysrq.txt +1 -2
@@ -78,7 +78,7 @@ On all -  write a character to /proc/sysrq-trigger.  e.g.:
 'g'	- Used by kgdb on ppc and sh platforms.
 
 'h'     - Will display help (actually any other key than those listed
-          above will display help. but 'h' is easy to remember :-)
+          here will display help. but 'h' is easy to remember :-)
 
 'i'     - Send a SIGKILL to all processes, except for init.
 
 
-

---
~Randy
*** Remember to use Documentation/SubmitChecklist when testing your code ***