mirror of
https://github.com/AuxXxilium/kmod.git
synced 2024-11-23 23:10:53 +07:00
9d1fb317c8
Now that modprobe.d is searched under ${prefix}/lib, allow a complete transition to files only under ${prefix} by adding a ${module_directory} configuration. This specifies the directory where to search for kernel modules and should match the location where the kernel/distro installs them. With this distributions that do not want to ship files in /lib can also move kernel modules to /usr while others can keep them in /lib. Signed-off-by: Michal Suchanek <msuchanek@suse.de> Link: https://lore.kernel.org/r/a3765f4e8ae3ce29c0847a0132d4a8d51ad040a9.1699618135.git.msuchanek@suse.de Signed-off-by: Lucas De Marchi <lucas.de.marchi@gmail.com>
81 lines
2.7 KiB
XML
81 lines
2.7 KiB
XML
<?xml version="1.0"?>
|
|
<!--*-nxml-*-->
|
|
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">
|
|
<refentry id="modules.dep">
|
|
<refentryinfo>
|
|
<title>modules.dep</title>
|
|
<productname>kmod</productname>
|
|
|
|
<authorgroup>
|
|
<author>
|
|
<contrib>Developer</contrib>
|
|
<firstname>Jon</firstname>
|
|
<surname>Masters</surname>
|
|
<email>jcm@jonmasters.org</email>
|
|
</author>
|
|
<author>
|
|
<contrib>Developer</contrib>
|
|
<firstname>Lucas</firstname>
|
|
<surname>De Marchi</surname>
|
|
<email>lucas.de.marchi@gmail.com</email>
|
|
</author>
|
|
</authorgroup>
|
|
</refentryinfo>
|
|
|
|
<refmeta>
|
|
<refentrytitle>modules.dep</refentrytitle>
|
|
<manvolnum>5</manvolnum>
|
|
</refmeta>
|
|
|
|
<refnamediv>
|
|
<refname>modules.dep</refname>
|
|
<refname>modules.dep.bin</refname>
|
|
<refpurpose>Module dependency information</refpurpose>
|
|
</refnamediv>
|
|
|
|
<refsynopsisdiv>
|
|
<para><filename>@MODULE_DIRECTORY@/modules.dep</filename></para>
|
|
<para><filename>@MODULE_DIRECTORY@/modules.dep.bin</filename></para>
|
|
</refsynopsisdiv>
|
|
|
|
<refsect1><title>DESCRIPTION</title>
|
|
<para>
|
|
<filename>modules.dep.bin</filename> is a binary file generated by
|
|
<command>depmod</command> listing the dependencies for
|
|
every module in the directories under
|
|
<filename>@MODULE_DIRECTORY@/</filename><replaceable>version</replaceable>.
|
|
It is used by kmod tools such as <command>modprobe</command> and
|
|
libkmod.
|
|
</para>
|
|
<para>
|
|
Its text counterpart is located in the same directory with the name
|
|
<filename>modules.dep</filename>. The text version is maintained only
|
|
for easy of reading by humans and is in no way used by any kmod tool.
|
|
</para>
|
|
<para>
|
|
These files are not intended for editing or use by any additional
|
|
utilities as their format is subject to change in the future. You should
|
|
use the
|
|
<citerefentry><refentrytitle>modinfo</refentrytitle><manvolnum>8</manvolnum></citerefentry>
|
|
command to obtain information about modules in a future proof and
|
|
compatible fashion rather than touching these files.
|
|
</para>
|
|
</refsect1>
|
|
<refsect1><title>COPYRIGHT</title>
|
|
<para>
|
|
This manual page originally Copyright 2002, Rusty Russell, IBM
|
|
Corporation. Maintained by Jon Masters and others.
|
|
</para>
|
|
</refsect1>
|
|
<refsect1><title>SEE ALSO</title>
|
|
<para>
|
|
<citerefentry>
|
|
<refentrytitle>depmod</refentrytitle><manvolnum>8</manvolnum>
|
|
</citerefentry>,
|
|
<citerefentry>
|
|
<refentrytitle>modprobe</refentrytitle><manvolnum>8</manvolnum>
|
|
</citerefentry>
|
|
</para>
|
|
</refsect1>
|
|
</refentry>
|