linux-modules.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Brian Mason <brianmason386@gmail.com>
To: linux-modules@vger.kernel.org
Subject: Documentation error in depmod.d.5
Date: Mon, 20 May 2019 11:53:37 -0400	[thread overview]
Message-ID: <aee4bc92-d34c-ff9f-2a86-f7b0c41c3d2f@gmail.com> (raw)

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>


                 reply	other threads:[~2019-05-20 15:53 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=aee4bc92-d34c-ff9f-2a86-f7b0c41c3d2f@gmail.com \
    --to=brianmason386@gmail.com \
    --cc=linux-modules@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).