* Faster, incremental depmod when adding modules?
@ 2022-08-21 18:46 Ian Pilcher
2022-10-13 15:40 ` jim.cromie
0 siblings, 1 reply; 2+ messages in thread
From: Ian Pilcher @ 2022-08-21 18:46 UTC (permalink / raw)
To: kernelnewbies, linux-modules
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).
--
========================================================================
Google Where SkyNet meets Idiocracy
========================================================================
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Faster, incremental depmod when adding modules?
2022-08-21 18:46 Faster, incremental depmod when adding modules? Ian Pilcher
@ 2022-10-13 15:40 ` jim.cromie
0 siblings, 0 replies; 2+ messages in thread
From: jim.cromie @ 2022-10-13 15:40 UTC (permalink / raw)
To: Ian Pilcher; +Cc: linux-modules, kernelnewbies
On Sun, Aug 21, 2022 at 12:46 PM Ian Pilcher <arequipeno@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
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-10-13 15:41 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-21 18:46 Faster, incremental depmod when adding modules? Ian Pilcher
2022-10-13 15:40 ` jim.cromie
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).