Name
modinfo
Synopsis
modinfo [options] object-file
System administration command. Print information about kernel module object-file. Information is read from tag names in the mod-info section of the module file. By default it will print the module’s filename, description, author, license, and parameters.
Options
- -a, --author
Print author information.
- -d, --description
Print module description.
- -f format-string, --format format-string
Format output to match string. The format string is essentially a printf style string. Fields to be replaced are specified by a percent sign followed by a tag name in curly braces, e.g., %{author} and %{filename}. A line containing the field %{parm} will be repeated for each known module parameter. author, description, filename, licenses, and parm can also be represented by the shorter versions, %a, %d, %n, %l, and %p.
- -h, --help
Print usage message, then exit.
- -l, --license
Print module license information.
- -n, --filename
Print the module’s filename.
- -p, --parameters
Print the module’s typed parameters.
- -V, --version
Print version number of the module.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access