---
name: "devinfo"
section: "8"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/devinfo"
---

# devinfo(8)

print information about system device configuration

## NAME

**devinfo** – print information about system device configuration

## SYNOPSIS

**devinfo** \[**-rv**\]

**devinfo** **-p** *dev* \[**-v**\]

**devinfo** **-u** \[**-v**\]

## DESCRIPTION

The **devinfo** utility, without any arguments, shows the hierarchy of devices available in the system, starting from the “nexus” device.

The following options are accepted:

- **-p** *dev*

  Display the path of *dev* back to the root of the device tree. *dev* can either be a device name, the absolute path of an ACPI handle (must begin with a “\\”), or a PCI selector( either **pci***domain*:*bus*:*slot*:*function* or **pci***bus*:*slot*:*function*).

  If **-v** is specified, each device is output on a separate line including the device name and additional verbose information; otherwise, a space-separated list of device names is output.

- **-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.

- **-u**

  Displays the same information as with **-r** but sorts by resource type rather than by device, allowing to review the set of system resources by usage and available resources. I.e., it lists all the IRQ consumers together.

- **-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.

## SEE ALSO

[systat(1)](/systat/1.md), [devinfo(3)](/devinfo/3.md), [devctl(8)](/devctl/8.md), [iostat(8)](/iostat/8.md), [pciconf(8)](/pciconf/8.md), [vmstat(8)](/vmstat/8.md), [devclass(9)](/devclass/9.md), [device(9)](/device/9.md)

## HISTORY

The **devinfo** utility appeared in FreeBSD 5.0.

## AUTHORS

Mike Smith ⟨*msmith@FreeBSD.org*⟩
