Name
insmod
Synopsis
insmod [options
]file
[symbol=value
..
.]
System administration command. Load the module file into the kernel, changing any symbols that are defined on the command line. If the module file is named file.o or file.mod, the module will be named file.
Options
- -e file, --persist= file
Read persistent data from file. If module has no persistent data, this option is ignored. If the file parameter is the null string “”, use default file location.
- -f, --force
Force loading of module, even if problems are encountered.
- -h, --help
Print help message, then exit.
- -k, --autoclean
Mark module to be removed when inactive.
- -m, --map
Print a load map to standard output.
- -n, --noload
Do everything needed to load file, but do not load it. Used to debug command line.
- -o name, --name= name
Name module name instead of using the object file’s name.
- -p, --probe
Check to see that the module can be successfully loaded.
- -q, --quiet
Don’t print warnings or error messages.
- -r, --root
Load modules not owned by the root account. By default these are rejected. This is a security risk.
- -s, --syslog
Send messages to syslog instead of standard output.
- -v, --verbose
Print additional information about progress of insmod.
- -x, --noexport
If module does not explicitly export its own symbol table, do not export modules’ external symbols.
- -y, --noksymoops
Do not add symbols used for debugging Oops to ksyms. These are required if the module has persistent data.
- -L, --lock
Set a file lock on the module.
Get Linux in a Nutshell, Fourth Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.