Searched defs:console (Results 1 - 3 of 3) sorted by relevance
/systemd/src/fsck/ |
H A D | fsck.c | 178 _cleanup_fclose_ FILE *console = NULL, *f = NULL; local 193 console = fopen("/dev/console", "we"); 194 if (!console) 219 if (flock(fileno(console), LOCK_EX|LOCK_NB) < 0) 233 fprintf(console, "\r%s: fsck %3.1f%% complete...\r%n", device, p, &m); 234 fflush(console); 243 fputc('\r', console); 245 fputc(' ', console); 246 fputc('\r', console); [all...] |
/systemd/src/core/ |
H A D | execute.c | 193 return "/dev/console"; 583 "/dev/console", 623 fd = open_terminal("/dev/console", O_WRONLY|O_NOCTTY|O_CLOEXEC); 2379 char *console; local 2388 if (streq(tty, "console")) 2391 console = resolve_dev_console(&active); 2393 if (!console) 2397 return streq(console, tty) || (streq(console, "tty0") && tty_is_vc(tty)); 3149 [EXEC_OUTPUT_SYSLOG_AND_CONSOLE] = "syslog+console", [all...] |
/systemd/src/nspawn/ |
H A D | nspawn.c | 1276 static int setup_dev_console(const char *dest, const char *console) { argument 1282 assert(console); 1286 r = chmod_and_chown(console, 0600, arg_uid_shift, arg_uid_shift); 1290 /* We need to bind mount the right tty to /dev/console since 1294 to = prefix_roota(dest, "/dev/console"); 1297 return log_error_errno(r, "touch() for /dev/console failed: %m"); 1299 if (mount(console, to, NULL, MS_BIND, NULL) < 0) 1300 return log_error_errno(errno, "Bind mount for /dev/console failed: %m"); 2659 const char *console, 2677 assert(console); 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 3082 _cleanup_free_ char *device_path = NULL, *root_device = NULL, *home_device = NULL, *srv_device = NULL, *console = NULL; local [all...] |
Completed in 29 milliseconds