1MODINFO(8) MODINFO(8)
2
3
4
6 modinfo - program to show information about a Linux Kernel module
7
9 modinfo [ -0 ] [ -F field ] [ -k kernel ] [ modulename|filename... ]
10
11 modinfo -V
12
13 modinfo -h
14
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 /lib/mod‐
18 ules/version directory is searched, as done by modprobe(8).
19
20 modinfo by default lists each attribute of the module in form fieldname
21 : value, for easy reading. The filename is listed the same way
22 (although it's not really an attribute).
23
24 This version of modinfo can understand modules of any Linux Kernel
25 architecture.
26
28 -V --version
29 Print the modinfo version.
30
31 -F --field
32 Only print this field value, one per line. This is most useful
33 for scripts. Field names are case-insenitive. Common fields
34 (which may not be in every module) include author, description,
35 license, parm, depends, and alias. There are often multiple
36 parm, alias and depends fields. The special field filename lists
37 the filename of the module.
38
39 -k kernel
40 Provide information about a kernel other than the running one.
41 This is particularly useful for distributions needing to extract
42 information from a newly installed (but not yet running) set of
43 kernel modules. For example, you wish to find which firmware
44 files are needed by various modules in a new kernel for which
45 you must make an initrd image prior to booting.
46
47 -0 --null
48 Use the ASCII zero character to separate field values, instead
49 of a new line. This is useful for scripts, since a new line can
50 theoretically appear inside a field.
51
52 -a -d -l -p -n
53 These are shortcuts for author, description, license. parm and
54 filename respectively, to ease the transition from the old modu‐
55 tils modinfo.
56
58 This manual page Copyright 2003, Rusty Russell, IBM Corporation.
59
61 modprobe(8)
62
63
64
65 2003-05-9 MODINFO(8)