Debian Codegraph @

man/modinfo.8.scd

raw
1 MODINFO(8) "kmod" "modinfo"
2
3 # NAME
4
5 modinfo - Show information about a Linux Kernel module
6
7 # SYNOPSIS
8
9 *modinfo* [*-0*] [*-F* _field_] [*-k* _kernel_] [modulename|filename...]
10
11 *modinfo* *-V*
12
13 *modinfo* *-h*
14
15 # DESCRIPTION
16
17 *modinfo* extracts information from the Linux Kernel modules given on the
18 command line. If the module name is not a filename, then the @MODULE_DIRECTORY@/
19 _version_ directory is searched, as is also done by *modprobe*(8) when loading
20 kernel modules.
21
22 *modinfo* by default lists each attribute of the module in form _fieldname_ :
23 _value_, for easy reading. The filename is listed the same way (although it's
24 not really an attribute).
25
26 This version of *modinfo* can understand modules of any Linux Kernel
27 architecture.
28
29 # OPTIONS
30
31 *-V*, *--version*
32 Print the *modinfo* version.
33
34 *-F* _field_, *--field*=_field_
35 Only print this _field_ value, one per line. This is most useful for
36 scripts. Field names are case-insensitive. Common fields (which may not
37 be in every module) include author, description, license, parm, depends,
38 and alias. There are often multiple parm, alias and depends fields. The
39 special _field_ filename lists the filename of the module.
40
41 *-b* _basedir_, *--basedir*=_basedir_
42 Root directory for modules, / by default.
43
44 *-k* _kernel_
45 Provide information about a kernel other than the running one. This is
46 particularly useful for distributions needing to extract information
47 from a newly installed (but not yet running) set of kernel modules. For
48 example, you wish to find which firmware files are needed by various
49 modules in a new kernel for which you must make an initrd/initramfs
50 image prior to booting.
51
52 *-0*, *--null*
53 Use the ASCII zero character to separate _field_ values, instead of a new
54 line. This is useful for scripts, since a new line can theoretically
55 appear inside a _field_.
56
57 *-a* *--author*, *-d* *--description*, *-l* *--license*, *-p* *--parameters*, *-n* *--filename*
58 These are shortcuts for the *--field* flag's author, description,
59 license, parm and filename arguments, to ease the transition from the
60 old modutils *modinfo*.
61
62 *-h*, *--help*
63 Print the help message and exit.
64
65 # COPYRIGHT
66
67 This manual page originally Copyright 2003, Rusty Russell, IBM Corporation.
68
69 # SEE ALSO
70
71 *modprobe*(8)
72
73 # BUGS
74
75 Please direct any bug reports to kmod's issue tracker at
76 https://github.com/kmod-project/kmod/issues/ alongside with version used, steps
77 to reproduce the problem and the expected outcome.
78
79 # AUTHORS
80
81 Numerous contributions have come from the linux-modules mailing list
82 <[email protected]> and Github. If you have a clone of kmod.git
83 itself, the output of *git-shortlog*(1) and *git-blame*(1) can show you the
84 authors for specific parts of the project.
85
86 *Lucas De Marchi* <[email protected]> is the current maintainer of the
87 project.