Lines Matching defs:directory
343 return log_error_errno(r, "Failed to create directory %s: %m", where);
345 log_warning_errno(r, "Failed to create directory %s: %m", where);
428 log_error("Cannot bind mount directory %s on file %s.", m->source, where);
433 log_error("Cannot bind mount file %s on directory %s.", m->source, where);
445 /* Create the mount point. Any non-directory file can be
446 * mounted on any non-directory file (regular, fifo, socket,
809 const char *directory,
818 assert(directory);
826 r = bind_remount_recursive(directory, true);
828 return log_error_errno(r, "Failed to remount %s read-only: %m", directory);
830 p = prefix_roota(directory, "/var");
833 return log_error_errno(errno, "Failed to create %s: %m", directory);
849 const char *directory,
860 assert(directory);
869 return log_error_errno(errno, "Failed to create temporary directory: %m");
879 r = log_error_errno(errno, "Failed to mount tmpfs for root directory: %m");
885 f = prefix_roota(directory, "/usr");
907 if (mount(template, directory, NULL, MS_MOVE, NULL) < 0) {