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

NAME

6       modinfo - program to show information about a Linux Kernel module
7

SYNOPSIS

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

DESCRIPTION

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

OPTIONS

31       -V --version
32              Print the modinfo version.  Note BACKWARDS COMPATIBILITY  below:
33              you might be printing the version of modinfo.old.
34
35       -F --field
36              Only  print this field value, one per line.  This is most useful
37              for scripts.  Field names are  case-insenitive.   Common  fields
38              (which  may not be in every module) include author, description,
39              license, param, depends, and alias.  There  are  often  multiple
40              param,  alias  and  depends  fields.  The special field filename
41              lists the filename of the module.
42
43       -k kernel
44              Provide information about a kernel other than the  running  one.
45              This 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
48              files are needed by various modules in a new  kernel  for  which
49              you must make an initrd image prior to booting.
50
51       -0 --null
52              Use  the  ASCII zero character to separate field values, instead
53              of a new line.  This is useful for scripts, since a new line can
54              theoretically appear inside a field.
55
56       -a -d -l -p -n
57              These are shortcuts for author, description, license.  param and
58              filename respectively, to ease the transition from the old modu‐
59              tils modinfo.
60

BACKWARDS COMPATIBILITY

62       This  version of modinfo is for kernel modules 2.5.48 and above.  If it
63       detects a kernel with support for old-style modules, it will attempt to
64       run  modprobe.old  in its place, so it is completely transparent to the
65       user.
66
67       Note that the output of this version of modinfo  is  simpler  and  more
68       regular  than  the older version: scripts attempting to use the default
69       output may get confused with complex fields.
70
71       You can force the new  modinfo  to  always  be  used,  by  setting  the
72       NEW_MODINFO environment variable.
73
75       This manual page Copyright 2003, Rusty Russell, IBM Corporation.
76

SEE ALSO

78       modprobe(8), modinfo.old(8)
79
80
81
82                                 22 March 2007                      MODINFO(8)
Impressum