Lines Matching defs:dev
44 { "test/dev", "/dev", "failed to mount test /dev" },
80 _cleanup_udev_device_unref_ struct udev_device *dev = NULL;
96 mac_selinux_init("/dev");
113 dev = udev_device_new_from_synthetic_event(udev, syspath, action);
114 if (dev == NULL) {
119 event = udev_event_new(dev);
124 if (udev_device_get_devnode(dev) != NULL) {
127 if (streq(udev_device_get_subsystem(dev), "block"))
133 mkdir_parents_label(udev_device_get_devnode(dev), 0755);
134 mknod(udev_device_get_devnode(dev), mode, udev_device_get_devnum(dev));
136 unlink(udev_device_get_devnode(dev));
137 rmdir_parents(udev_device_get_devnode(dev), "/");