Searched refs:slink (Results 1 - 1 of 1) sorted by relevance

/systemd/src/udev/
H A Dudev-node.c36 static int node_symlink(struct udev_device *dev, const char *node, const char *slink) { argument
48 while (node[i] && (node[i] == slink[i])) {
55 while (slink[i] != '\0') {
56 if (slink[i] == '/')
67 if (lstat(slink, &stats) == 0) {
69 log_error("conflicting device node '%s' found, link to '%s' will not be created", slink, node);
75 len = readlink(slink, buf, sizeof(buf));
79 log_debug("preserve already existing symlink '%s' to '%s'", slink, target);
80 label_fix(slink, true, false);
81 utimensat(AT_FDCWD, slink, NUL
182 link_update(struct udev_device *dev, const char *slink, bool add) argument
[all...]

Completed in 987 milliseconds