Faster, incremental depmod when adding modules?

jim.cromie at gmail.com jim.cromie at gmail.com
Thu Oct 13 11:40:33 EDT 2022


On Sun, Aug 21, 2022 at 12:46 PM Ian Pilcher <arequipeno at gmail.com> wrote:
>
> When installing 1 or more out-of-tree modules within
> /lib/modules/$UNAME, is it possible to run depmod in an incremental
> fashion - adding symbols from the new modules to modules.dep[.bin]
> without re-scanning all of the other modules from that kernel version?
>
> I've tried specifying the new module files, but that seems to create a
> completely new modules.dep containing *only* the symbols from the new
> modules (which obviously isn't very useful).
>

OPTIONS
       -a, --all
           Probe all modules. This option is enabled by default if no
file names are given in the command-line.

       -A, --quick
           This option scans to see if any modules are newer than the
modules.dep file before any work is done: if not, it silently exits
rather than regenerating the files.

2nd looks like what u want



More information about the Kernelnewbies mailing list