Lines Matching refs:bootpath
139 static char bootpath[64];
793 if (strcmp(devname, bootpath) == 0)
851 OF_getprop(chosen, "bootpath", bootpath, sizeof(bootpath));
862 (void)strncpy(bootpath, zfs_fmtdev(&zfs_currdev),
863 sizeof(bootpath) - 1);
864 bootpath[sizeof(bootpath) - 1] = '\0';
879 if (bootpath[strlen(bootpath) - 2] == ':' &&
880 bootpath[strlen(bootpath) - 1] == 'f')
881 bootpath[strlen(bootpath) - 1] = 'a';
883 env_setenv("currdev", EV_VOLATILE, bootpath,
885 env_setenv("loaddev", EV_VOLATILE, bootpath,
889 printf("bootpath=\"%s\"\n", bootpath);