From 1759018c0d4063af6291c90b0dc36aba6aaa4069 Mon Sep 17 00:00:00 2001 From: lfs-dev Date: Tue, 22 Jun 2004 19:48:02 +0000 Subject: This commit was manufactured by cvs2svn to create tag 'v5_1-pre2'. git-svn-id: http://svn.linuxfromscratch.org/LFS/tags/v5_1-pre2/BOOK@3453 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- TODO | 9 ++++ chapter06/module-init-tools.xml | 98 +++++++++++++++++++++++++++++++++++++++++ general.ent | 2 +- 3 files changed, 108 insertions(+), 1 deletion(-) create mode 100644 TODO create mode 100644 chapter06/module-init-tools.xml diff --git a/TODO b/TODO new file mode 100644 index 000000000..1ac44fb42 --- /dev/null +++ b/TODO @@ -0,0 +1,9 @@ + - Mention --enable-kernel=... where appropriate. + - Create and use the 'utmp' group, and explain to the user how to use it to + improve the security of things that write to utmp, such as terminal + emulators. + - Move passwd to /bin. + - Mention --enable-multibyte when building vim. + - POSIX compliance patches (aka, removing the coreutils hack). + - Upgraded to a glibc that supports POSIX message queues. + - Pass --enable-const to ncurses. diff --git a/chapter06/module-init-tools.xml b/chapter06/module-init-tools.xml new file mode 100644 index 000000000..a98fe2773 --- /dev/null +++ b/chapter06/module-init-tools.xml @@ -0,0 +1,98 @@ + + + %general-entities; +]> + +Module-Init-Tools-&module-init-tools-version; + + +Module-Init-Tools + +The Module-Init-Tools package contains programs for handling kernel +modules in Linux kernels greater than or equal to version 2.5.47. + +&buildtime; 0.1 SBU +&buildtime; 650 KB + +Module-Init-Tools installation depends on: Bash, Binutils, Bison, +Coreutils, Diffutils, Flex, GCC, Glibc, Grep, M4, Make, Sed. + + + +Installation of Module-Init-Tools + +Prepare Module-Init-Tools for compilation: + +./configure --prefix="" --enable-zlib + +Compile the package: + +make + +To test the results, issue: +make check. + +Install it: + +make install + + + + +Contents of Module-Init-Tools + +Installed programs: depmod, genksyms, insmod, +insmod_ksymoops_clean, kallsyms (link to insmod), kernelversion, ksyms +(link to insmod), lsmod (link to insmod), modinfo, modprobe (link to insmod) +and rmmod (link to insmod) + + + + +Short descriptions + +depmod +depmod creates a dependency file, based on the +symbols it finds in the existing set of modules. This dependency file is used +by modprobe to automatically load the required modules. + +genksyms +genksyms generates symbol version information. + +insmod +insmod installs a loadable module in the running kernel. + +insmod_ksymoops_clean +insmod_ksymoops_clean deletes saved ksyms and +modules not accessed for two days. + +kallsyms +kallsyms extracts all kernel symbols for debugging. + +kernelversion +kernelversion reports the major version of the +running kernel. + +ksyms +ksyms displays exported kernel symbols. + +lsmod +lsmod shows which modules are loaded. + +modinfo +modinfo examines an object file associated with +a kernel module and displays any information that it can glean. + +modprobe +modprobe uses a dependency file, created by +depmod, to automatically load the relevant modules. + +rmmod +rmmod unloads modules from the running kernel. + + + + + + diff --git a/general.ent b/general.ent index 50c87240d..499ec9c76 100644 --- a/general.ent +++ b/general.ent @@ -1,5 +1,5 @@ - + -- cgit v1.2.3-54-g00ecf