DEVINFO(8)
π DEVINFO(8) β your girl's guide to the device tree β¨
okay so bestie, devinfo is an 8th-section system manager's manual page, and it's literally the tool you use to peek at your system's whole device configuration. think of it as a backstage pass to the hardware, no cap π
β¨ SYNOPSIS β¨
devinfo [-rv]
devinfo -p dev [-v]
devinfo -u [-v]
πΈ DESCRIPTION πΈ
okay so here's the vibe: run devinfo with zero arguments and it shows you the hierarchy of devices available in the system, starting from the βnexusβ device. like a little family tree but make it hardware π
the following options are accepted:
-p devβ display the path of dev back to the root of the device tree. and dev is flexible fr fr, it can be:- a device name,
- the absolute path of an ACPI handle (and it must begin with a
β\β, no exceptions bestie), - or a PCI selector (either
pcidomain:bus:slot:functionorpcibus:slot:function).
now, if -v is specified, each device gets output on a separate line including the device name and additional verbose information. otherwise? you get a space-separated list of device names. simple as π
-rβ causes hardware resource information (such as IRQ, I/O ports, I/O memory addresses) to be also listed, under each device that has reserved those resources. so you see who is hogging what π€¨-uβ displays the same information as with-rbut sorts by resource type rather than by device, allowing you to review the set of system resources by usage and available resources. i.e., it lists all the IRQ consumers together. it's giving "inventory audit" energy and honestly? iconic π-vβ display all devices in the driver tree, not just those that are attached or busy. without this flag, only those devices that have attached are reported. this flag also displays verbose information about each device. so basically it's the "show me everything, don't hide anything from me" option π
lowkey important: without -v you're only seeing a partial picture, just the attached ones. so if something seems missing, that's why bestie π
π¦ SEE ALSO π¦
systat(1), devinfo(3), devctl(8), iostat(8), pciconf(8), vmstat(8), devclass(9), device(9)
go read those too, they're all part of the same friend group π«Ά
β HISTORY β
the devinfo utility appeared in FreeBSD 5.0. a true elder, respect on her name π
π AUTHORS π
Mike Smith <msmith@FreeBSD.org>
and that's the whole page bestie, you ate that π this gem is from Debian, dated March 6, 2026 β DEVINFO(8), periodt πβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- Copyright (c) 2002 Hiten Pandya
- Copyright (c) 2002 Robert N. M. Watson
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms