Searched refs:fstype (Results 1 - 11 of 11) sorted by relevance

/systemd/src/shared/
H A Dgenerator.c93 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 Dmount-util.h45 bool fstype_is_network(const char *fstype);
H A Dpath-util.c578 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 Dpath-util.h59 int fsck_exists(const char *fstype);
60 int mkfs_exists(const char *fstype);
H A Dmount-util.c489 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 Dgpt-auto-generator.c166 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 Ddbus-mount.c97 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 Dmount.h49 char *fstype; member in struct:MountParameters
H A Dmount.c73 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 Dfstab-generator.c230 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 Dnspawn.c2137 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)

Completed in 40 milliseconds