if ((r = device_find_escape_name(m, path, &u)) < 0)
return r;
- /* If a different unit already claimed this name then let's do
- * nothing. This can happen for example when two disks with
- * the same label are plugged in, and which hence try to get
- * conflicting symlinks in /dev/disk/by-label/xxxx */
if (u && DEVICE(u)->sysfs && !path_equal(DEVICE(u)->sysfs, sysfs))
return -EEXIST;
.no_instances = true,
.no_snapshots = true,
.no_isolate = true,
- .no_alias = true,
.init = device_init,