%general-entities; ]> module-init-tools &module-init-tools-version;
&module-init-tools-url;
Module-Init-Tools-&module-init-tools-version; Module-Init-Tools <para>The Module-Init-Tools пакет содержит программы для handling kernel modules in Linux kernels greater than or equal to version 2.5.47.</para> <segmentedlist> <segtitle>&buildtime;</segtitle> <segtitle>&diskspace;</segtitle> <seglistitem> <seg>&module-init-tools-ch6-sbu;</seg> <seg>&module-init-tools-ch6-du;</seg> </seglistitem> </segmentedlist> </sect2> <sect2 role="installation"> <title>Установка пакета Module-Init-Tools Приментие патч that contains the generated man pages that were missing from the released source tarball: patch -Np1 -i ../&module-init-tools-man-patch; The test suite of this package is geared towards the needs of its Maintainer. The command make check builds a specially wrapped version of modprobe which is useless for normal operation. To run this (about 0.2 SBU), issue the following commands (note that the make clean command is required to clean up the source tree before recompiling for normal use): DOCBOOKTOMAN=/bin/true ./configure make check sed -i -e 's@../../configure@DOCBOOKTOMAN=/bin/true &@' tests/runtests ./tests/runtests make clean Подготовьте пакет Module-Init-Tools к компиляции: DOCBOOKTOMAN=/bin/true ./configure --prefix=/ \ --enable-zlib-dynamic --mandir=/usr/share/man Скомпилируйте пакет: make Установите пакет: make INSTALL=install install Значение параметров make: INSTALL=install Normally, make install will not install the binaries if they already exist. This option overrides that behavior by calling install instead of using the default wrapper script. Содержимое пакета Module-Init-Tools Установленные программы depmod, insmod, insmod.static, lsmod, modinfo, modprobe, and rmmod Краткое описание 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 Установитеs a loadable module in the running kernel insmod insmod.static A statically compiled version of insmod insmod.static 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