Есть ли команда udev, которая позволяет мне видеть в реальном времени (во время выполнения) на терминале создание узла устройства при подключении нового устройства?
Немного как происходит при использовании команды tail для визуализации журнала: tail -f /var/log/syslog?
Да, существует только прямая (не из любого журнала).
sudo udevadm monitor
или для чистого вывода только из udev:
sudo udevadm monitor -u
Ссылка: man udevadm:
udevadm monitor [options]
Listens to the kernel uevents and events sent out by a udev rule and
prints the devpath of the event to the console. It can be used to
analyze the event timing, by comparing the timestamps of the kernel
uevent and the udev event.
-u, --udev
Print the udev event after the rule processing.
Да, существует только прямая (не из любого журнала).
sudo udevadm monitor
или для чистого вывода только из udev:
sudo udevadm monitor -u
Ссылка: man udevadm:
udevadm monitor [options]
Listens to the kernel uevents and events sent out by a udev rule and
prints the devpath of the event to the console. It can be used to
analyze the event timing, by comparing the timestamps of the kernel
uevent and the udev event.
-u, --udev
Print the udev event after the rule processing.