| /systemd/src/shared/ |
| H A D | generator.c | 93 const char *fstype) { 107 if (!isempty(fstype) && !streq(fstype, "auto")) { 108 r = fsck_exists(fstype); 110 log_warning_errno(r, "Checking was requested for %s, but couldn't detect if fsck.%s may be used, proceeding: %m", what, fstype); 113 log_debug("Checking was requested for %s, but fsck.%s does not exist.", what, fstype); 88 generator_write_fsck_deps( FILE *f, const char *dir, const char *what, const char *where, const char *fstype) argument
|
| /systemd/src/basic/ |
| H A D | mount-util.h | 45 bool fstype_is_network(const char *fstype);
|
| H A D | path-util.c | 578 int fsck_exists(const char *fstype) { argument 581 assert(fstype); 583 if (streq(fstype, "auto")) 586 checker = strjoina("fsck.", fstype); 590 int mkfs_exists(const char *fstype) { argument 593 assert(fstype); 595 if (streq(fstype, "auto")) 598 mkfs = strjoina("mkfs.", fstype);
|
| H A D | path-util.h | 59 int fsck_exists(const char *fstype); 60 int mkfs_exists(const char *fstype);
|
| H A D | mount-util.c | 489 bool fstype_is_network(const char *fstype) { argument 505 x = startswith(fstype, "fuse."); 507 fstype = x; 509 return nulstr_contains(table, fstype);
|
| /systemd/src/gpt-auto-generator/ |
| H A D | gpt-auto-generator.c | 166 const char *fstype, 181 log_debug("Adding %s: %s %s", where, what, strna(fstype)); 183 if (streq_ptr(fstype, "crypto_LUKS")) { 190 fstype = NULL; 215 r = generator_write_fsck_deps(f, arg_dest, what, where, fstype); 226 if (fstype) 227 fprintf(f, "Type=%s\n", fstype); 282 const char *fstype = NULL; local 316 /* add_mount is OK with fstype being NULL. */ 317 (void) blkid_probe_lookup_value(b, "TYPE", &fstype, NUL 162 add_mount( const char *id, const char *what, const char *where, const char *fstype, bool rw, const char *options, const char *description, const char *post) argument 376 add_automount( const char *id, const char *what, const char *where, const char *fstype, bool rw, const char *options, const char *description, usec_t timeout) argument 454 const char *fstype = NULL, *uuid = NULL; local [all...] |
| /systemd/src/core/ |
| H A D | dbus-mount.c | 97 if (m->from_proc_self_mountinfo && m->parameters_proc_self_mountinfo.fstype) 98 d = m->parameters_proc_self_mountinfo.fstype; 99 else if (m->from_fragment && m->parameters_fragment.fstype) 100 d = m->parameters_fragment.fstype; 147 property = &m->parameters_fragment.fstype;
|
| H A D | mount.h | 49 char *fstype; member in struct:MountParameters
|
| H A D | mount.c | 73 static bool mount_needs_network(const char *options, const char *fstype) { argument 77 if (fstype && fstype_is_network(fstype)) 86 return mount_needs_network(p->options, p->fstype); 95 if (p->fstype && STR_IN_SET(p->fstype, "bind", "rbind")) 112 if (p->fstype && fstype_is_network(p->fstype)) 198 free(p->fstype); 200 p->what = p->options = p->fstype 1327 mount_setup_unit( Manager *m, const char *what, const char *where, const char *options, const char *fstype, bool set_flags) argument 1512 const char *device, *path, *options, *fstype; local [all...] |
| /systemd/src/fstab-generator/ |
| H A D | fstab-generator.c | 230 const char *fstype, 252 if (streq_ptr(fstype, "autofs")) 312 r = generator_write_fsck_deps(f, arg_dest, what, where, fstype); 325 if (!isempty(fstype) && !streq(fstype, "auto")) 326 fprintf(f, "Type=%s\n", fstype); 227 add_mount( const char *what, const char *where, const char *fstype, const char *opts, int passno, bool noauto, bool nofail, bool automount, const char *post, const char *source) argument
|
| /systemd/src/nspawn/ |
| H A D | nspawn.c | 2137 const char *fstype, *p; local 2174 if (blkid_probe_lookup_value(b, "TYPE", &fstype, NULL) < 0) { 2181 if (streq(fstype, "crypto_LUKS")) { 2186 if (mount(what, p, fstype, MS_NODEV|(rw ? 0 : MS_RDONLY), NULL) < 0)
|