mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
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:
@@ -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]}}`
|
||||
Reference in New Issue
Block a user