misc commands

This commit is contained in:
Andriy Petrov 2024-04-17 12:13:15 +02:00
parent 859ca1d5a2
commit 298edf8587

View File

@ -117,28 +117,24 @@ In order for module to use any externally declared symbol module must:
2. Add another entry to the `__versions` section
# Misc
## Module loading
# Misc commands
* Module loading
```bash
insmod module_name.ko
```
## List loaded modules
* List loaded modules
```bash
lsmod
```
## Logs
* Logs
```bash
dmesg | grep insmod
```
## Module unloading
* Module unloading
```bash
rmmod MODULE_NAME # from .gnu.linkonce.this_module section
```