Lines Matching refs:mkfs
14 const char *mkfs; in mkfs_exists() local
22 mkfs = strjoina("mkfs.", fstype); in mkfs_exists()
23 if (!filename_is_valid(mkfs)) /* refuse file system types with slashes and similar */ in mkfs_exists()
26 r = find_executable(mkfs, NULL); in mkfs_exists()
96 _cleanup_free_ char *mkfs = NULL, *mangled_label = NULL; in make_filesystem() local
105 r = find_executable("mkswap", &mkfs); in make_filesystem()
117 mkfs = strjoin("mkfs.", fstype); in make_filesystem()
118 if (!mkfs) in make_filesystem()
157 (void) execlp(mkfs, mkfs, in make_filesystem()
167 (void) execlp(mkfs, mkfs, in make_filesystem()
178 (void) execlp(mkfs, mkfs, in make_filesystem()
187 (void) execlp(mkfs, mkfs, in make_filesystem()
202 (void) execlp(mkfs, mkfs, in make_filesystem()
213 (void) execlp(mkfs, mkfs, in make_filesystem()
223 (void) execlp(mkfs, mkfs, in make_filesystem()
230 (void) execlp(mkfs, mkfs, node, NULL); in make_filesystem()
232 log_error_errno(errno, "Failed to execute %s: %m", mkfs); in make_filesystem()