Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

a. Is it possible to find out, which udev rule triggered as soon as some USB/serial device plug-in or plug-out ?

b. Is it possible to reload one specific rule out of many rules, without device replug ?

share|improve this question
up vote 2 down vote accepted

I found solution to (a) atleast.

I need to run udevadm test <sys_path_of_Device>

This command will run in dry-mode, but will give the correct pointer to rules file.

share|improve this answer


udevadm monitor

And all udev information will be displayed on your screen as it is generated.

share|improve this answer
It didn't name the udev rule file – SHW Jan 15 '14 at 10:13

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.