{"id":4288,"date":"2022-12-20T17:48:52","date_gmt":"2022-12-20T20:48:52","guid":{"rendered":"http:\/\/lode.uno\/linux-man\/index.php\/2022\/12\/20\/depmod-d-man5\/"},"modified":"2022-12-20T17:48:52","modified_gmt":"2022-12-20T20:48:52","slug":"depmod-d-man5","status":"publish","type":"post","link":"https:\/\/lode.uno\/linux-man\/2022\/12\/20\/depmod-d-man5\/","title":{"rendered":"DEPMOD.D (man5)"},"content":{"rendered":"<h1 align=\"center\">DEPMOD.D<\/h1>\n<p> <a href=\"#NAME\">NAME<\/a><br \/> <a href=\"#SYNOPSIS\">SYNOPSIS<\/a><br \/> <a href=\"#DESCRIPTION\">DESCRIPTION<\/a><br \/> <a href=\"#COMMANDS\">COMMANDS<\/a><br \/> <a href=\"#COPYRIGHT\">COPYRIGHT<\/a><br \/> <a href=\"#SEE ALSO\">SEE ALSO<\/a><br \/> <a href=\"#AUTHORS\">AUTHORS<\/a> <\/p>\n<hr>\n<h2>NAME <a name=\"NAME\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">depmod.d \u2212 Configuration directory for depmod<\/p>\n<h2>SYNOPSIS <a name=\"SYNOPSIS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">\/usr\/lib\/depmod.d\/*.conf<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/etc\/depmod.d\/*.conf<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">\/run\/depmod.d\/*.conf<\/p>\n<h2>DESCRIPTION <a name=\"DESCRIPTION\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">The order in which modules are processed by the <b>depmod<\/b> command can be altered on a global or per\u2212module basis. This is typically useful in cases where built\u2212in kernel modules are complemented by custom built versions of the same and the user wishes to affect the priority of processing in order to override the module version supplied by the kernel.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">The format of files under depmod.d is simple: one command per line, with blank lines and lines starting with &#8216;#&#8217; ignored (useful for adding comments). A &#8221; at the end of a line causes it to continue on the next line, which makes the files a bit neater.<\/p>\n<h2>COMMANDS <a name=\"COMMANDS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">search <i>subdirectory&#8230;<\/i><\/p>\n<p style=\"margin-left:17%;\">This allows you to specify the order in which \/lib\/modules (or other configured module location) subdirectories will be processed by <b>depmod<\/b>. Directories are listed in order, with the highest priority given to the first listed directory and the lowest priority given to the last directory listed. The special keyword <b>built\u2212in<\/b> refers to the standard module directories installed by the kernel. Another special keyword <b>external<\/b> refers to the list of external directories, defined by the <b>external<\/b> command.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">By default, depmod will give a higher priority to a directory with the name <b>updates<\/b> using this built\u2212in search string: &#8220;updates built\u2212in&#8221; but more complex arrangements are possible and are used in several popular distributions.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">override <i>modulename kernelversion modulesubdirectory<\/i><\/p>\n<p style=\"margin-left:17%;\">This command allows you to override which version of a specific module will be used when more than one module sharing the same name is processed by the <b>depmod<\/b> command. It is possible to specify one kernel or all kernels using the bodies manpages.csv script_extrae_body.sh script.sh usr wildcard. <i>modulesubdirectory<\/i> is the name of the subdirectory under \/lib\/modules (or other module location) where the target module is installed.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">For example, it is possible to override the priority of an updated test module called <b>kmod<\/b> by specifying the following command: &#8220;override kmod bodies manpages.csv script_extrae_body.sh script.sh usr extra&#8221;. This will ensure that any matching module name installed under the <b>extra<\/b> subdirectory within \/lib\/modules (or other module location) will take priority over any likenamed module already provided by the kernel.<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\">external <i>kernelversion absolutemodulesdirectory&#8230;<\/i><\/p>\n<p style=\"margin-left:17%;\">This specifies a list of directories, which will be checked according to the priorities in the <b>search<\/b> command. The order matters also, the first directory has the higher priority.<\/p>\n<p style=\"margin-left:17%; margin-top: 1em\">The <i>kernelversion<\/i> is a POSIX regular expression or bodies manpages.csv script_extrae_body.sh script.sh usr wildcard, like in the <b>override<\/b>.<\/p>\n<h2>COPYRIGHT <a name=\"COPYRIGHT\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\">This manual page Copyright 2006\u22122010, Jon Masters, Red Hat, Inc.<\/p>\n<h2>SEE ALSO <a name=\"SEE ALSO\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>depmod<\/b>(8)<\/p>\n<h2>AUTHORS <a name=\"AUTHORS\"><\/a> <\/h2>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Jon Masters<\/b> <jcm@jonmasters.org><\/p>\n<p style=\"margin-left:17%;\">Developer<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Robby Workman<\/b> <rworkman@slackware.com><\/p>\n<p style=\"margin-left:17%;\">Developer<\/p>\n<p style=\"margin-left:11%; margin-top: 1em\"><b>Lucas De Marchi<\/b> <lucas.de.marchi@gmail.com><\/p>\n<p style=\"margin-left:17%;\">Developer<\/p>\n<hr>\n","protected":false},"excerpt":{"rendered":"<p>  depmod.d \u2212 Configuration directory for depmod <\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[959],"tags":[961,351,1291],"class_list":["post-4288","post","type-post","status-publish","format-standard","hentry","category-5-formatos-de-ficheros","tag-961","tag-depmod","tag-man5"],"gutentor_comment":0,"_links":{"self":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4288","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/comments?post=4288"}],"version-history":[{"count":0,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/posts\/4288\/revisions"}],"wp:attachment":[{"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/media?parent=4288"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/categories?post=4288"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lode.uno\/linux-man\/wp-json\/wp\/v2\/tags?post=4288"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}