udevadm settle

Category: Administration

udevadm settle

Wait until udev finishes processing events

Blocks until the udev event queue is empty, ensuring all devices are named and rules have run. Scripts that mount or probe devices right after boot use this to avoid racing udev. Add a timeout for safety in automation.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.