depmod
Generate modules.dep and map files for Linux kernel modules. tldr-pages
On Linux
Linux
Generate dependency and map files for the current kernel
depmodIdentifyGenerate dependency and map files in a specified directory
depmod --outdir path/to/directoryIdentifyGenerate dependency and map files for a specific kernel version
depmod kernel_versionIdentifyExamine a specific module instead of all modules
depmod kernel_version /path/to/module.koIdentifyUse an alternative root filesystem directory
depmod --basedir path/to/root_directoryIdentifyWrite dependency information to stdout instead of writing to files
depmod --dry-runIdentify