OS Manuals

/usr/bin/udevadm

init system agnostic fork of systemd-udev

From eudev 3.2.14-r51 (os), captured 2026-11-05 by running udevadm --help (exit 0). permalink

udevadm [--help] [--version] [--debug] COMMAND [COMMAND OPTIONS]

Send control commands or test the device manager.

Commands:
  info          Query sysfs or the udev database
  trigger       Request events from the kernel
  settle        Wait for pending udev events
  control       Control the udev daemon
  monitor       Listen to kernel and udev events
  hwdb          maintain the hardware database index
  test          Test an event run
  test-builtin  Test a built-in command
Options (32)
OptionDescriptionSource
--debugPrint debug messages to standard error.man
--versionPrint version number.man
-h, --helpPrint help text.man
-q, --query TYPEQuery the database for the specified type of device data.man
-p, --path DEVPATHThe /sys path of the device to query, e.g. [/sys]/class/block/sda.man
-n, --name FILEThe name of the device node or a symlink to query, e.g. [/dev]/sda.man
-r, --rootPrint absolute paths in name or symlink query.man
-a, --attribute-walkPrint all sysfs properties of the specified device that can be used in udev rules to match the specified device.man
-x, --exportPrint output as key/value pairs.man
-P, --export-prefix NAMEAdd a prefix to the key name of exported values.man
-d, --device-id-of-file FILEPrint major/minor numbers of the underlying device, where the file lives on.man
-e, --export-dbExport the content of the udev database.man
-c, --cleanup-dbCleanup the udev database.man
-v, --verbosePrint the list of devices which will be triggered.man
-t, --type TYPETrigger a specific type of devices.man
-s, --subsystem-match SUBSYSTEMTrigger events for devices which belong to a matching subsystem.man
-S, --subsystem-nomatch SUBSYSTEMDo not trigger events for devices which belong to a matching subsystem.man
-A, --attr-nomatch ATTRIBUTE=VALUEDo not trigger events for devices with a matching sysfs attribute.man
-g, --tag-match PROPERTYTrigger events for devices with a matching tag.man
-y, --sysname-match PATHTrigger events for devices with a matching sys device path.man
--name-match NAMETrigger events for devices with a matching device path.man
-b, --parent-match SYSPATHTrigger events for all children of a given device.man
-E, --exit-if-exists FILEStop waiting if file exists.man
-l, --log-priority valueSet the internal log level of udevd.man
-R, --reloadSignal udevd to reload the rules files and other databases like the kernel module index.man
-m, --children-max valueSet the maximum number of events, udevd will handle at the same time.man
--timeout secondsThe maximum number of seconds to wait for a reply from udevd.man
-k, --kernelPrint the kernel uevents.man
-u, --udevPrint the udev event after the rule processing.man
--usrPut the compiled database into /usr/lib/udev/hwdb.bin instead.man
-o, --output stringSpecify the exact location where to write the compiled database.man
-N, --resolve-names early|late|neverSpecify when udevadm should resolve names of users and groups.man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.