MODINFO(8)
๐ธ MODINFO(8) โ the modinfo page, bestie edition ๐ธ
okay so real quick, the manual name is modinfo and it lives in section 8 of your man pages. she's a system-administration girlie. let's get into it ๐
โจ NAME โจ
modinfo โ show info about a Linux Kernel module ๐ง
๐ SYNOPSIS ๐
modinfo [-0] [-F field] [-k kernel] [modulename|filename...]
modinfo -V
modinfo -h
๐ DESCRIPTION ๐
so basically modinfo extracts information from the Linux Kernel modules you hand it on the command line. if the module name isn't a filename, then the /lib/modules/ version directory gets searched โ exactly like modprobe(8) does when it's loading kernel modules. same energy, fr fr ๐ซถ
by default modinfo lists each attribute of the module in the form fieldname : value, because she wants it to be easy to read, she's thoughtful like that. the filename gets listed the same way (even though technically it's not really an attribute, lowkey a liar but we love her anyway ๐).
This version of modinfo can understand modules of ANY Linux Kernel architecture. no cap. every single one. iconic ๐
๐ OPTIONS ๐
-V,--versionโ print themodinfoversion. that's it, that's the whole job.-F field,--field=fieldโ only print THIS field value, one per line. this one is highkey made for scripts. field names are case-insensitive. the common fields (which, warning, may not be in every module) includeauthor,description,license,parm,depends, andalias. there are often multipleparm,aliasanddependsfields, so don't come for her when you get more than one line. and the special fieldfilenamelists the filename of the module โจ-b basedir,--basedir=basedirโ root directory for modules,/by default. like, where she starts looking.-k kernelโ provide information about a kernel other than the running one. this is particularly useful for distros that need to extract info from a newly installed (but not yet running) set of kernel modules. for example: you wanna find which firmware files are needed by various modules in a new kernel, because you have to make aninitrd/initramfsimage prior to booting. yes bestie, before. plan ahead ๐-0,--nullโ use the ASCII zero character to separate field values, instead of a new line. useful for scripts, since a new line can theoretically appear inside a field. sneaky little newline ๐-a --author,-d --description,-l --license,-p --parameters,-n --filenameโ these are shortcuts for the--fieldflag'sauthor,description,license,parmandfilenamearguments, to ease the transition from the oldmodutilsmodinfo. legacy support, she's respectful like that ๐ซก-h,--helpโ print the help message and exit. bye bestie ๐
ยฉ๏ธ COPYRIGHT ยฉ๏ธ
this manual page originally Copyright 2003, Rusty Russell, IBM Corporation. periodt. ๐
๐ SEE ALSO ๐
๐ BUGS ๐
please direct any bug reports to kmod's issue tracker at https://github.com/kmod-project/kmod/issues/ โ and girl, bring receipts: include the version used, the steps to reproduce the problem, and the expected outcome. no vague posting, we need the full story ๐โจ
๐ AUTHORS ๐
numerous contributions have come from the linux-modules mailing list <linux-modules@vger.kernel.org> and Github. if you have a clone of kmod.git itself, the output of git-shortlog(1) and git-blame(1) can show you the authors for specific parts of the project. detective work, honestly ๐
Lucas De Marchi <lucas.de.marchi@gmail.com> is the current maintainer of the project. crown stays on ๐
cute lil sign-off: this page is from kmod, dated 2026-10-30. go read your kernel modules, bestie, you got this ๐๐ฆโญ
๐ฆ where this page comes from
- arch rolling: kmod 34.3-1 ยท LGPL-2.1-or-later AND GPL-2.0-or-later
- ๐ girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms