%general-entities; ]> kmod &kmod-version;
&kmod-url;
Kmod-&kmod-version; Kmod <para>The Kmod package contains libraries and utilities for loading kernel modules</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&kmod-ch6-sbu;</seg> <seg>&kmod-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Installation of Kmod Prepare Kmod for compilation: ./configure --prefix=/usr \ --bindir=/bin \ --sysconfdir=/etc \ --with-rootlibdir=/lib \ --with-xz \ --with-zlib The meaning of the configure options: --with-xz, --with-zlib These options enable Kmod to handle compressed kernel modules. --with-rootlibdir=/lib This option ensures different library related files are placed in the correct directories. Compile the package: make To test the results, issue: make check Install the package and man pages, and create symlinks for compatibility with Module-Init-Tools (the package that previously handled Linux kernel modules): make install for target in depmod insmod modinfo modprobe rmmod; do ln -sv ../bin/kmod /sbin/$target done ln -sv kmod /bin/lsmod Contents of Kmod Installed programs Installed libraries depmod (link to kmod), insmod (link to kmod), kmod, lsmod (link to kmod), modinfo (link to kmod), modprobe (link to kmod), and rmmod (link to kmod) libkmod.so Short Descriptions 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 depmod insmod Installs a loadable module in the running kernel insmod kmod Loads and unloads kernel modules kmod lsmod Lists currently loaded modules lsmod modinfo Examines an object file associated with a kernel module and displays any information that it can glean modinfo modprobe Uses a dependency file, created by depmod, to automatically load relevant modules modprobe rmmod Unloads modules from the running kernel rmmod libkmod This library is used by other programs to load and unload kernel modules libkmod