DEVINFO(8)

πŸ“¦
version 15.1 Β· 2 versions
, in freebsd 15.1

πŸ’… 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:function or pcibus: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 -r but 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
  • πŸ’– girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms