DEVMATCH(8)
πΈ NAME πΈ
devmatch β print information about unattached devices. (Yes bestie, this is the DEVMATCH(8) page from the System Manager's Manual, and we're about to get into it π.)
β¨ SYNOPSIS β¨
devmatch [-a | --all] [-d | --dump] [[-h | --hints] file]
[[-p | --nomatch] event] [-q | --quiet] [-u | --unbound]
[-v | --verbose]
π DESCRIPTION π
okay so the devmatch utility, without any arguments, prints all the kernel modules it has found for all the unattached, enabled devices in the system. Yes, all of them. It's giving full device tea ββ¨
Here's the flag menu, bestie β every single one, no skips:
-a,--allβ include all devices, not just the ones that are unattached. π-d,--dumpβ produce a human readable dump of thelinker.hintsfile.-h,--hintsfile β use the named file instead oflinker.hintsguessed from the current module load path.-p,--nomatchevent β parse and use a standard NOMATCH event fromdevd(8)for matching instead of searching the device tree.-q,--quietβ suppress some error messages and simply return a non-zero exit code. This is helpful to avoid an endless list of warnings during bootup if no hints are available.-u,--unboundβ attempt to produce a list of those drivers with PNP info whose driver tables with that PNP info cannot be found.-v,--verboseβ produce more verbose output.
π SEE ALSO π
You'll also wanna peek at rc.conf(5), devinfo(8), and MODULE_PNP_INFO(9) β iykyk π«Ά
π°οΈ HISTORY π°οΈ
devmatch first appeared in FreeBSD 12.0 β iconic behavior, honestly. periodt. β¨
π AUTHORS π
Warner Losh <imp@FreeBSD.org> β give them their flowers ππ
π BUGS π
- The kernel has hints in it, but we exclude it from the list of modules to suggest for unmatched devices. We exclude it when suggesting drivers, but include it when looking for unbound devices or producing a full dump of
linker.hints. This can be confusing. π΅βπ« - Some modules are hard links in
/boot/kerneland will be reported twice. π - The PNP string's attributes are evaluated once per PNP entry on that bus rather than once. π
- The term PNP is overloaded in FreeBSD. It means, generically, the identifying data the bus provides about a device. While this includes old ISA PNP identifiers, it also includes the logical equivalent in USB, PCI, and others. π
- Many drivers currently lack proper PNP table decorations and need to be updated. π οΈ
okay bestie, that's the whole DEVMATCH(8) page! This one comes from Debian, dated August 13, 2023 β byeee, go match some devices ππ«Άβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- Copyright (c) 2017 Netflix, Inc
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms