Lines Matching refs:full
226 const char *full, *top, *x;
240 full = prefix_roota(top, "/full");
242 (void) mkdir(full, 0755);
244 if (mount("sysfs", full, "sysfs", MS_RDONLY|MS_NOSUID|MS_NOEXEC|MS_NODEV, NULL) < 0)
245 return log_error_errno(errno, "Failed to mount sysfs to %s: %m", full);
250 from = prefix_root(full, x);
267 if (umount(full) < 0)
268 return log_error_errno(errno, "Failed to unmount %s: %m", full);
270 if (rmdir(full) < 0)
271 return log_error_errno(errno, "Failed to remove %s: %m", full);