Home
last modified time | relevance | path

Searched refs:arg_root_what (Results 1 – 1 of 1) sorted by relevance

/systemd-251/src/fstab-generator/
Dfstab-generator.c46 static char *arg_root_what = NULL; variable
57 STATIC_DESTRUCTOR_REGISTER(arg_root_what, freep);
697 assert(arg_root_what); in sysroot_is_nfsroot()
710 if (path_equal(arg_root_what, "/dev/nfs") || in sysroot_is_nfsroot()
711 STR_IN_SET(arg_root_what, "dhcp", "dhcp6") || in sysroot_is_nfsroot()
712 STARTSWITH_SET(arg_root_what, "nfs:", "nfs4:")) in sysroot_is_nfsroot()
716 if (arg_root_what[0] == '[') { in sysroot_is_nfsroot()
717 sep = strchr(arg_root_what + 1, ']'); in sysroot_is_nfsroot()
721 a = strndupa_safe(arg_root_what + 1, sep - arg_root_what - 1); in sysroot_is_nfsroot()
731 sep = strchr(arg_root_what, ':'); in sysroot_is_nfsroot()
[all …]