1MODINFO(8)                          modinfo                         MODINFO(8)
2
3
4

NAME

6       modinfo - Show information about a Linux Kernel module
7

SYNOPSIS

9       modinfo [-0] [-F field] [-k kernel] [modulename|filename...]
10
11       modinfo -V
12
13       modinfo -h
14

DESCRIPTION

16       modinfo extracts information from the Linux Kernel modules given on the
17       command line. If the module name is not a filename, then the
18       /lib/modules/version directory is searched, as is also done by
19       modprobe(8) when loading kernel modules.
20
21       modinfo by default lists each attribute of the module in form fieldname
22       : value, for easy reading. The filename is listed the same way
23       (although it's not really an attribute).
24
25       This version of modinfo can understand modules of any Linux Kernel
26       architecture.
27

OPTIONS

29       -V, --version
30           Print the modinfo version.
31
32       -F, --field
33           Only print this field value, one per line. This is most useful for
34           scripts. Field names are case-insensitive. Common fields (which may
35           not be in every module) include author, description, license, parm,
36           depends, and alias. There are often multiple parm, alias and
37           depends fields. The special field filename lists the filename of
38           the module.
39
40       -b basedir, --basedir basedir
41           Root directory for modules, / by default.
42
43       -k kernel
44           Provide information about a kernel other than the running one. This
45           is particularly useful for distributions needing to extract
46           information from a newly installed (but not yet running) set of
47           kernel modules. For example, you wish to find which firmware files
48           are needed by various modules in a new kernel for which you must
49           make an initrd/initramfs image prior to booting.
50
51       -0, --null
52           Use the ASCII zero character to separate field values, instead of a
53           new line. This is useful for scripts, since a new line can
54           theoretically appear inside a field.
55
56       -a --author, -d --description, -l --license, -p --parameters, -n
57       --filename
58           These are shortcuts for the --field flag's author, description,
59           license, parm and filename arguments, to ease the transition from
60           the old modutils modinfo.
61
63       This manual page originally Copyright 2003, Rusty Russell, IBM
64       Corporation. Maintained by Jon Masters and others.
65

SEE ALSO

67       modprobe(8)
68

AUTHORS

70       Jon Masters <jcm@jonmasters.org>
71           Developer
72
73       Lucas De Marchi <lucas.de.marchi@gmail.com>
74           Developer
75
76
77
78kmod                              06/30/2022                        MODINFO(8)
Impressum