From: Alejandro Colomar Date: Tue, 15 Aug 2023 14:02:52 +0000 (+0200) Subject: proc.5, proc_config.gz.5: Split /proc/config.gz from proc(5) X-Git-Tag: man-pages-6.06~312^2~45 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=190f56ba110c0e22366fc3aa6d36e3059e3f3dda;p=thirdparty%2Fman-pages.git proc.5, proc_config.gz.5: Split /proc/config.gz from proc(5) Signed-off-by: Alejandro Colomar --- diff --git a/man5/proc.5 b/man5/proc.5 index d088bd735c..eb462dbb5c 100644 --- a/man5/proc.5 +++ b/man5/proc.5 @@ -231,34 +231,6 @@ hierarchy. .\" Added in Linux 2.6.9 .\" CONFIG_SCHEDSTATS .TP -.IR /proc/config.gz " (since Linux 2.6)" -This file exposes the configuration options that were used -to build the currently running kernel, -in the same format as they would be shown in the -.I .config -file that resulted when configuring the kernel (using -.IR "make xconfig" , -.IR "make config" , -or similar). -The file contents are compressed; view or search them using -.BR zcat (1) -and -.BR zgrep (1). -As long as no changes have been made to the following file, -the contents of -.I /proc/config.gz -are the same as those provided by: -.IP -.in +4n -.EX -cat /lib/modules/$(uname \-r)/build/.config -.EE -.in -.IP -.I /proc/config.gz -is provided only if the kernel is configured with -.BR CONFIG_IKCONFIG_PROC . -.TP .I /proc/crypto A list of the ciphers provided by the kernel crypto API. For details, see the kernel diff --git a/man5/proc_config.gz.5 b/man5/proc_config.gz.5 new file mode 100644 index 0000000000..2b46546522 --- /dev/null +++ b/man5/proc_config.gz.5 @@ -0,0 +1,40 @@ +.\" Copyright (C) 1994, 1995, Daniel Quinlan +.\" Copyright (C) 2002-2008, 2017, Michael Kerrisk +.\" Copyright (C) 2023, Alejandro Colomar +.\" +.\" SPDX-License-Identifier: GPL-3.0-or-later +.\" +.TH proc_config.gz 5 (date) "Linux man-pages (unreleased)" +.SH NAME +/proc/config.gz \- kernel build configuration +.SH DESCRIPTION +.TP +.IR /proc/config.gz " (since Linux 2.6)" +This file exposes the configuration options that were used +to build the currently running kernel, +in the same format as they would be shown in the +.I .config +file that resulted when configuring the kernel (using +.IR "make xconfig" , +.IR "make config" , +or similar). +The file contents are compressed; view or search them using +.BR zcat (1) +and +.BR zgrep (1). +As long as no changes have been made to the following file, +the contents of +.I /proc/config.gz +are the same as those provided by: +.IP +.in +4n +.EX +cat /lib/modules/$(uname \-r)/build/.config +.EE +.in +.IP +.I /proc/config.gz +is provided only if the kernel is configured with +.BR CONFIG_IKCONFIG_PROC . +.SH SEE ALSO +.BR proc (5)