+ /* apply/restore inotify watch */
+ if (err == 0 && event->inotify_watch && inotify_fd != -1 &&
+ major(udev_device_get_devnum(event->dev)) != 0 &&
+ strcmp(udev_device_get_action(event->dev), "remove") != 0)
+ info(event->udev, "device will be watched for changes\n");
+ udev_watch_begin(event->udev, event->dev);
+