/systemd/src/nspawn/ |
H A D | nspawn-register.c | 32 const char *directory, 66 strempty(directory), 91 strempty(directory), 29 register_machine( const char *machine_name, pid_t pid, const char *directory, sd_id128_t uuid, int local_ifindex, const char *slice, CustomMount *mounts, unsigned n_mounts, int kill_signal, char **properties, bool keep_unit, const char *service) argument
|
H A D | nspawn-mount.c | 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); 808 setup_volatile_state( const char *directory, VolatileMode mode, bool userns, uid_t uid_shift, uid_t uid_range, const char *selinux_apifs_context) argument 848 setup_volatile( const char *directory, VolatileMode mode, bool userns, uid_t uid_shift, uid_t uid_range, const char *selinux_apifs_context) argument [all...] |
H A D | nspawn.c | 189 " -D --directory=PATH Root directory for the container\n" 190 " --template=PATH Initialize root directory from template directory,\n" 192 " -x --ephemeral Run container with snapshot of root directory, and\n" 197 " --chdir=PATH Set working directory in the container\n" 239 " --read-only Mount the root directory read-only\n" 241 " Bind mount a file or directory from the host into\n" 245 " --tmpfs=PATH:[OPTIONS] Mount an empty tmpfs to the specified directory\n" 289 return log_error_errno(r, "Failed to generate work directory fro 1369 setup_journal(const char *directory) argument 2134 mount_device(const char *what, const char *where, const char *directory, bool rw) argument 2410 determine_uid_shift(const char *directory) argument 2444 inner_child( Barrier *barrier, const char *directory, bool secondary, int kmsg_socket, int rtnl_socket, FDSet *fds) argument 2656 outer_child( Barrier *barrier, const char *directory, const char *console, const char *root_device, bool root_device_rw, const char *home_device, bool home_device_rw, const char *srv_device, bool srv_device_rw, bool interactive, bool secondary, int pid_socket, int kmsg_socket, int rtnl_socket, int uid_shift_socket, FDSet *fds) argument [all...] |
/systemd/src/journal/ |
H A D | journal-vacuum.c | 146 const char *directory, 163 assert(directory); 176 d = opendir(directory); 283 "Deleted empty archived journal %s/%s (%s).", directory, p, format_bytes(sbytes, sizeof(sbytes), size)); 287 log_warning_errno(errno, "Failed to delete empty archived journal %s/%s: %m", directory, p); 324 log_full(verbose ? LOG_INFO : LOG_DEBUG, "Deleted archived journal %s/%s (%s).", directory, list[i].filename, format_bytes(sbytes, sizeof(sbytes), list[i].usage)); 333 log_warning_errno(errno, "Failed to delete archived journal %s/%s: %m", directory, list[i].filename); 145 journal_directory_vacuum( const char *directory, uint64_t max_use, uint64_t n_max_files, usec_t max_retention_usec, usec_t *oldest_usec, bool verbose) argument
|
/systemd/src/basic/ |
H A D | util.c | 84 char **directory; local 102 STRV_FOREACH(directory, directories) { 106 d = opendir(*directory); 111 return log_error_errno(errno, "Failed to open directory %s: %m", *directory); 123 log_debug("%1$s/%2$s skipped (%2$s was already seen).", *directory, de->d_name); 131 path = strjoin(*directory, "/", de->d_name, NULL); 205 * with the same name exists in more than one directory, the
|