Super User is a question and answer site for computer enthusiasts and power users. 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

How can I prove if udev is installed and working proper? Just call udevadm would be a method, right?

share|improve this question

migrated from Sep 7 '12 at 7:37

This question came from our site for professional and enthusiast programmers.

up vote 2 down vote accepted

Make sure the udev daemon udevd is running:

if [[ $(pgrep -c udevd) -eq 0 ]]; then
    echo "No udev"
    echo "udev is running"

Or check the output of service udev status which contains start/running if udev is running.

share|improve this answer

If you what to test your udev is running and working. do following to verify.

Delete one of devices from /dev

rm /dev/fd0

Run udevtrigger, it will auto create missing device again.

share|improve this answer
@ Satish Thanks for the answer, just one problem with your solution. If I delete the device and udev is not running, the device is gone :) – Peter Sep 7 '12 at 6:14

@Peter - If device is gone you can create them back using following command.

[root@mg0016 ~]# mknod /tmp/fd0 b 2 0
[root@mg0016 ~]# ls -l /tmp/fd0
brw-r--r-- 1 root root 2, 0 Sep  7 10:09 /tmp/fd0
share|improve this answer

You must log in to answer this question.