Репозиторий ALT Linux backports/2.4
Последнее обновление: 9 июля 2008 | Пакетов: 497 | Посещений: 1574657
 поиск   регистрация   авторизация 
 
Группа :: Система/Ядро и оборудование
Пакет: modutils

 Главная   Изменения   Спек   Патчи   Загрузить   Bugs and FR 

Патч: modutils-2.4.27-alt-doc.patch


--- modutils-2.4.27/man/insmod.8.alt-doc	2003-12-10 00:27:57 +0300
+++ modutils-2.4.27/man/insmod.8	2004-06-06 22:19:10 +0400
@@ -67,6 +67,23 @@
 symbol name checks.  If the symbol names in the module do not match the
 kernel then there is no way to force \fBinsmod\fR to load the module.
 .TP
+.B ""
+For 2.6.x kernels this option is equivalent to \fB\-\-force\-vermagic
+\-\-force\-modversion\fR.
+.TP
+.B \-\-force\-vermagic
+Modules for 2.6.x kernels contain a small string with important
+information such as the kernel and compiler versions.  If a module
+fails to load and the kernel complains that the "version magic" doesn't
+match, you can use this option to remove it.
+.TP
+.B \-\-force\-modversion
+When modules for 2.6.x kernels are compiled with CONFIG_MODVERSIONS set,
+a section is created detailing the versions of every interface used by
+(or supplied by) the module.  If a module fails to load and the kernel
+complains that the module disagrees about a version of some interface,
+you can use this option to remove the version information altogether.
+.TP
 .BR \-h ", " \-\-help
 Display a summary of options and immediately exit.
 .TP
--- modutils-2.4.27/module-init-tools/doc/modinfo.sgml.alt-doc	2003-05-09 05:10:00 +0400
+++ modutils-2.4.27/module-init-tools/doc/modinfo.sgml	2004-06-06 22:07:51 +0400
@@ -118,11 +118,10 @@
   <refsect1>
     <title>BACKWARDS COMPATIBILITY</title>
 
-    <para>This version of <command>modinfo</command> is for kernel
-	modules <literal>2.5.48</literal> and above.  If it detects a
-	kernel with support for old-style modules, it will attempt to
-	run <command>modprobe.old</command> in its place, so it is
-	completely transparent to the user.</para>
+    <para>This version of <command>modinfo</command> supports both
+	old-style (before kernel <literal>2.5.48</literal>) and
+	new-style modules.  The output format is the same for both kinds
+	of modules.</para>
 
     <para>Note that the output of this version of
 	<command>modinfo</command> is simpler and more regular than
@@ -141,9 +140,6 @@
 
     <para><citerefentry>
 	<refentrytitle>modprobe</refentrytitle><manvolnum>8</manvolnum>
-      </citerefentry>,
-      <citerefentry>
-	<refentrytitle>modinfo.old</refentrytitle><manvolnum>8</manvolnum>
       </citerefentry>
 </para>
   </refsect1>
 
design & coding: Vladimir Lettiev aka crux © 2004-2005