Searched refs:new_mount (Results 1 - 1 of 1) sorted by relevance
/systemd/src/shared/ |
H A D | switch-root.c | 76 char new_mount[PATH_MAX]; local 79 xsprintf(new_mount, "%s%s", new_root, i); 81 mkdir_p_label(new_mount, 0755); 83 if ((stat(new_mount, &sb) < 0) || 94 if (mount(i, new_mount, NULL, mountflags, NULL) < 0) { 96 log_error_errno(errno, "Failed to move mount %s to %s, forcing unmount: %m", i, new_mount); 102 log_error_errno(errno, "Failed to bind mount %s to %s: %m", i, new_mount);
|
Completed in 9 milliseconds