depmod: add page (#22595)

Signed-off-by: Prashant Rahul <prashantrahul141@protonmail.com>
Co-authored-by: Managor <42655600+Managor@users.noreply.github.com>
This commit is contained in:
Prashant Rahul
2026-06-01 20:35:08 +05:30
committed by GitHub
parent 8c6aa52cfe
commit 7a00e3b5dc
+29
View File
@@ -0,0 +1,29 @@
# depmod
> Generate `modules.dep` and map files for Linux kernel modules.
> See also: `modprobe`.
> More information: <https://manned.org/depmod>.
- Generate dependency and map files for the current kernel:
`depmod`
- Generate dependency and map files in a specified directory:
`depmod {{[-o|--outdir]}} {{path/to/directory}}`
- Generate dependency and map files for a specific kernel version:
`depmod {{kernel_version}}`
- Examine a specific module instead of all modules:
`depmod {{kernel_version}} /{{path/to/module.ko}}`
- Use an alternative root filesystem directory:
`depmod {{[-b|--basedir]}} {{path/to/root_directory}}`
- Write dependency information to `stdout` instead of writing to files:
`depmod {{[-n|--dry-run]}}`