Lines Matching defs:what
40 static int write_fsck_sysroot_service(const char *dir, const char *what) {
46 escaped = cescape(what);
53 r = unit_name_from_path(what, ".device", &device);
55 return log_error_errno(r, "Failed to convert device \"%s\" to unit name: %m", what);
77 what,
91 const char *what,
99 assert(what);
102 if (!is_device_path(what)) {
103 log_warning("Checking was requested for \"%s\", but it is not a device.", what);
110 log_warning_errno(r, "Checking was requested for %s, but couldn't detect if fsck.%s may be used, proceeding: %m", what, fstype);
113 log_debug("Checking was requested for %s, but fsck.%s does not exist.", what, fstype);
132 r = write_fsck_sysroot_service(dir, what);
138 r = unit_name_from_path_instance("systemd-fsck", what, ".service", &_fsck);
156 const char *what,
181 node = fstab_node_to_udev_node(what);