Lines Matching defs:to

58         _cleanup_free_ char *e = NULL, *n = NULL, *p = NULL, *d = NULL, *to = NULL;
69 return log_error_errno(r, "Failed to generate unit name: %m");
77 return log_error_errno(r, "Failed to generate unit name: %m");
85 return log_error_errno(errno, "Failed to create unit file %s: %m", p);
110 return log_error_errno(r, "Failed to write file %s: %m", p);
114 to = strjoin(arg_dest, "/", d, ".wants/", n, NULL);
115 if (!to)
118 mkdir_parents_label(to, 0755);
119 if (symlink(from, to) < 0)
120 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
122 free(to);
123 to = strjoin(arg_dest, "/cryptsetup.target.requires/", n, NULL);
124 if (!to)
127 mkdir_parents_label(to, 0755);
128 if (symlink(from, to) < 0)
129 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
131 free(to);
132 to = strjoin(arg_dest, "/dev-mapper-", e, ".device.requires/", n, NULL);
133 if (!to)
136 mkdir_parents_label(to, 0755);
137 if (symlink(from, to) < 0)
138 return log_error_errno(errno, "Failed to create symlink %s: %m", to);
152 return log_error_errno(r, "Failed to write device drop-in: %m");
195 return log_error_errno(r, "Failed to generate unit name: %m");
203 return log_error_errno(errno, "Failed to create unit file %s: %m", unit);
236 return log_error_errno(r, "Failed to write unit file %s: %m", p);
245 return log_error_errno(errno, "Failed to create symlink %s: %m", lnk);
296 * whether to do LUKS magic. */
303 return log_error_errno(errno, "Failed to allocate prober: %m");
314 return log_error_errno(errno ?: EIO, "Failed to probe %s: %m", what);
341 return log_error_errno(r, "Failed to generate unit name: %m");
349 return log_error_errno(errno, "Failed to create unit file %s: %m", unit);
362 return log_error_errno(r, "Failed to write unit file %s: %m", unit);
370 return log_error_errno(errno, "Failed to create symlink %s: %m", lnk);
415 return log_error_errno(r, "Failed to generate unit name: %m");
423 return log_error_errno(errno, "Failed to create unit file %s: %m", unit);
439 return log_error_errno(r, "Failed to write unit file %s: %m", p);
447 return log_error_errno(errno, "Failed to create symlink %s: %m", lnk);
493 log_error_errno(r, "Failed to read ESP partition UUID: %m");
502 return log_error_errno(errno, "Failed to allocate prober: %m");
513 return log_error_errno(errno ?: EIO, "Failed to probe %s: %m", what);
534 log_debug("Partition for /boot does not appear to be the partition we are booted from.");
626 return log_error_errno(errno, "%s: failed to allocate prober: %m", node);
640 return log_error_errno(errno ?: EIO, "%s: failed to probe: %m", node);
648 return log_error_errno(errno, "%s: failed to determine partition table type: %m", node);
663 return log_error_errno(errno, "%s: failed to list partitions: %m", node);
680 return log_error_errno(r, "%s: failed to enumerate partitions: %m", node);
748 * flag for the ESP, as it is often unset, to
879 if (found) /* Don't try to support multiple backing block devices */
919 log_warning("Failed to parse gpt-auto switch \"%s\". Ignoring.", value);
926 * specified (unless it happens to be "gpt-auto") */
953 return log_error_errno(r, "Failed to read ESP partition UUID: %m");
956 * wait for a root device to show up. A udev rule will create
979 return log_error_errno(r, "Failed to determine block device of root file system: %m");
983 return log_error_errno(r, "Failed to determine block device of /usr file system: %m");
1017 log_warning_errno(r, "Failed to parse kernel command line, ignoring: %m");