linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Documentation error in depmod.d.5
@ 2019-05-20 15:53 Brian Mason
  0 siblings, 0 replies; only message in thread
From: Brian Mason @ 2019-05-20 15:53 UTC (permalink / raw)
  To: linux-modules

Hello list,


I wasn't sure how to report this but I figured the mailing list was a
good bet.


In man/depmod.d.xml it says "/usr/lib/depmod.d" is one of the
directories depmod will check for configuration files, but
tools/depmod.c says "/lib/depmod.d" instead. I believe the sources are
correct and the documentation is in error because modprobe uses a
similar layout and its source and doc are consistent about
"/lib/modprobe.d".


Trivial fix but I'm sending a patch anyway!


Thanks,

Brian


diff --git a/man/depmod.d.xml b/man/depmod.d.xml
index 4341a56..602f72d 100644
--- a/man/depmod.d.xml
+++ b/man/depmod.d.xml
@@ -39,7 +39,7 @@
   </refnamediv>
 
   <refsynopsisdiv>
-    <para><filename>/usr/lib/depmod.d/*.conf</filename></para>
+    <para><filename>/lib/depmod.d/*.conf</filename></para>
     <para><filename>/etc/depmod.d/*.conf</filename></para>
     <para><filename>/run/depmod.d/*.conf</filename></para>
   </refsynopsisdiv>


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-05-20 15:53 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-05-20 15:53 Documentation error in depmod.d.5 Brian Mason

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).