Lines Matching defs:bootpath
142 static char bootpath[64];
751 zfs_probe_dev(bootpath, &guid);
775 * Don't probe the boot disk twice. Note that bootpath
778 if (strncmp(alias, bootpath, strlen(alias)) == 0)
857 OF_getprop(chosen, "bootpath", bootpath, sizeof(bootpath));
868 (void)strncpy(bootpath, zfs_fmtdev(&zfs_currdev),
869 sizeof(bootpath) - 1);
870 bootpath[sizeof(bootpath) - 1] = '\0';
885 if (bootpath[strlen(bootpath) - 2] == ':' &&
886 bootpath[strlen(bootpath) - 1] == 'f')
887 bootpath[strlen(bootpath) - 1] = 'a';
889 env_setenv("currdev", EV_VOLATILE, bootpath,
891 env_setenv("loaddev", EV_VOLATILE, bootpath,
897 printf("bootpath=\"%s\"\n", bootpath);