Linux-Modules Archive on lore.kernel.org
 help / color / 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
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 index

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

Reply instructions:

You may reply publically 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

Linux-Modules Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-modules/0 linux-modules/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-modules linux-modules/ https://lore.kernel.org/linux-modules \
		linux-modules@vger.kernel.org linux-modules@archiver.kernel.org
	public-inbox-index linux-modules


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-modules


AGPL code for this site: git clone https://public-inbox.org/ public-inbox