From e7f95b0b7bae4cb59bf55cfe8a9e0b95c316f505 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Serge=20Crois=C3=A9?= Date: Sat, 1 Jul 2023 03:40:45 +0200 Subject: [PATCH 1/2] Update view_kernel_conf.md (punctuation, AlmaLinux, warning) - use **warning "Warning" instead of **warning** to make translation work easier - Alma**L**inux instead of Almalinux - punctuation --- docs/gemstones/view_kernel_conf.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/gemstones/view_kernel_conf.md b/docs/gemstones/view_kernel_conf.md index 3c31b8c7d3..68697b09e9 100644 --- a/docs/gemstones/view_kernel_conf.md +++ b/docs/gemstones/view_kernel_conf.md @@ -17,7 +17,7 @@ The Linux kernel stores running kernel information in two places via special fil - The older [procfs](https://man7.org/linux/man-pages/man5/procfs.5.html) which mounts `/proc` (verify via `mount -l -t proc`) - The newer [sysfs](https://man7.org/linux/man-pages/man5/sysfs.5.html) which mounts `/sys` (verify via `mount -l -t sysfs`) -!!! warning +!!! warning "Warning" Be cautious if examining the files mentioned here, altering them can change the behavior of the actual running kernel! @@ -44,7 +44,7 @@ See what your currently running "kernel release" version is with: `uname -r` and substitute its return value in commands by using `$(uname -r)` -RHEL and derivative distributions (Fedora, CentOS Stream, Scientific Linux, RockyLinux, Almalinux, et. al.) +RHEL and derivative distributions (Fedora, CentOS Stream, Scientific Linux, RockyLinux, AlmaLinux, et. al.) also store the config used for bootable installed kernels in the `/boot` directory used by Grub2 as ASCII files: ```bash @@ -103,7 +103,7 @@ This file is more commonly accessed by a symlinked path provided by the `kernel- /lib/modules//build/ -> /usr/src/kernels// ``` -If you have `kernel-debug-devel` packages installed you will also have this directory: +If you have `kernel-debug-devel` packages installed, you will also have this directory: ```bash /usr/src/kernels/+debug/ @@ -118,7 +118,7 @@ You can look in any of the following for details on the config values used to bu /usr/src/kernels/+debug/.config ``` -Configured modules for the currently running kernel, whether compiled as builtin (i.e. statically into the kernel itself) or a loadable module, are listed by sub directories named as the module name in: +Configured modules for the currently running kernel, whether compiled as builtin (i.e., statically into the kernel itself) or a loadable module, are listed by sub directories named as the module name in: ```bash /sys/module/ From 53eaa5157fef88c2aecc1c9bc7099425d2c51c65 Mon Sep 17 00:00:00 2001 From: wale soyinka Date: Sun, 2 Jul 2023 09:02:52 -0400 Subject: [PATCH 2/2] Update view_kernel_conf.md --- docs/gemstones/view_kernel_conf.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/gemstones/view_kernel_conf.md b/docs/gemstones/view_kernel_conf.md index 68697b09e9..7f2ba95184 100644 --- a/docs/gemstones/view_kernel_conf.md +++ b/docs/gemstones/view_kernel_conf.md @@ -17,7 +17,7 @@ The Linux kernel stores running kernel information in two places via special fil - The older [procfs](https://man7.org/linux/man-pages/man5/procfs.5.html) which mounts `/proc` (verify via `mount -l -t proc`) - The newer [sysfs](https://man7.org/linux/man-pages/man5/sysfs.5.html) which mounts `/sys` (verify via `mount -l -t sysfs`) -!!! warning "Warning" +!!! warning Be cautious if examining the files mentioned here, altering them can change the behavior of the actual running kernel!