uevent(常见于 Linux 语境)指内核向用户空间发送的“设备事件通知”,用于告知设备的添加、移除、变化等(例如插入 USB、网卡上线)。这些事件常被 udev/systemd-udevd 等守护进程接收并据此创建设备节点或触发规则。
/ˈjuːvɛnt/
The kernel sent a uevent.
内核发送了一个 uevent(设备事件通知)。
When a USB device is plugged in, the kernel emits a uevent so that udev can load the right driver and create the device node.
当插入 USB 设备时,内核会发出 uevent,使 udev 能加载合适的驱动并创建设备节点。
来自 u-(user space,用户空间) + event(事件) 的组合词,字面意思就是“用户空间的事件通知”。在 Linux 设备管理与热插拔(hotplug)机制中,这类事件用于把内核里的设备变化“广播”到用户空间。