mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Issue in Kernel docs / Admin Guide / SysRq
@ 2025-10-03 12:32 Anselm Schüler
  2025-10-03 14:12 ` Jonathan Corbet
  2025-10-03 14:26 ` Bagas Sanjaya
  0 siblings, 2 replies; 3+ messages in thread
From: Anselm Schüler @ 2025-10-03 12:32 UTC (permalink / raw)
  To: linux-kernel

I’m writing here because I don’t know where to find Kernel docs 
(https://docs.kernel.org/) sources and submit patches.

The page “Linux Magic System Request Key Hacks” 
(https://docs.kernel.org/admin-guide/sysrq.html) says this:

“Write a single character to /proc/sysrq-trigger. Only the first 
character is processed, the rest of the string is ignored. However, it 
is not recommended to write any extra characters as the behavior is 
undefined and might change in the future versions. E.g.:
     echo t > /proc/sysrq-trigger”

I interpret the command as a suggestion of how to properly use 
/proc/sysrq-trigger, and not as an example of what not to do, and I 
believe many will share this interpretation. The command as listed will 
write TWO characters to /proc/sysrq-trigger.

Either the behaviour of ignoring \n should be codified and explicitly 
supported or this section should be changed.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-10-03 14:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-03 12:32 Issue in Kernel docs / Admin Guide / SysRq Anselm Schüler
2025-10-03 14:12 ` Jonathan Corbet
2025-10-03 14:26 ` Bagas Sanjaya

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®