]> git.ipfire.org Git - thirdparty/man-pages.git/commitdiff
proc.5, proc_kmsg.5: Split /proc/kmsg from proc(5)
authorAlejandro Colomar <alx@kernel.org>
Tue, 15 Aug 2023 15:27:46 +0000 (17:27 +0200)
committerAlejandro Colomar <alx@kernel.org>
Tue, 15 Aug 2023 21:19:11 +0000 (23:19 +0200)
Signed-off-by: Alejandro Colomar <alx@kernel.org>
man5/proc.5
man5/proc_kmsg.5 [new file with mode: 0644]

index 7fa56441cbca4d63aa64fa371a12a19822027650..c9d76a101e066b9cedba688fb520fc351a10025a 100644 (file)
@@ -227,22 +227,6 @@ hierarchy.
 .\"       Added in Linux 2.6.9
 .\"       CONFIG_SCHEDSTATS
 .TP
-.I /proc/kmsg
-This file can be used instead of the
-.BR syslog (2)
-system call to read kernel messages.
-A process must have superuser
-privileges to read this file, and only one process should read this
-file.
-This file should not be read if a syslog process is running
-which uses the
-.BR syslog (2)
-system call facility to log kernel messages.
-.IP
-Information in this file is retrieved with the
-.BR dmesg (1)
-program.
-.TP
 .IR /proc/kpagecgroup " (since Linux 4.3)"
 .\" commit 80ae2fdceba8313b0433f899bdd9c6c463291a17
 This file contains a 64-bit inode number of
diff --git a/man5/proc_kmsg.5 b/man5/proc_kmsg.5
new file mode 100644 (file)
index 0000000..2793907
--- /dev/null
@@ -0,0 +1,28 @@
+.\" Copyright (C) 1994, 1995, Daniel Quinlan <quinlan@yggdrasil.com>
+.\" Copyright (C) 2002-2008, 2017, Michael Kerrisk <mtk.manpages@gmail.com>
+.\" Copyright (C) 2023, Alejandro Colomar <alx@kernel.org>
+.\"
+.\" SPDX-License-Identifier: GPL-3.0-or-later
+.\"
+.TH proc_kmsg 5 (date) "Linux man-pages (unreleased)"
+.SH NAME
+/proc/kmsg \- kernel messages
+.SH DESCRIPTION
+.TP
+.I /proc/kmsg
+This file can be used instead of the
+.BR syslog (2)
+system call to read kernel messages.
+A process must have superuser
+privileges to read this file, and only one process should read this
+file.
+This file should not be read if a syslog process is running
+which uses the
+.BR syslog (2)
+system call facility to log kernel messages.
+.IP
+Information in this file is retrieved with the
+.BR dmesg (1)
+program.
+.SH SEE ALSO
+.BR proc (5)