Searched refs:bootpath (Results 1 - 6 of 6) sorted by relevance

/freebsd-11-stable/stand/powerpc/ofw/
H A Dmain.c97 char bootpath[64]; local
135 OF_getprop(chosen, "bootpath", bootpath, 64);
136 ch = strchr(bootpath, ':');
138 printf("Booted from: %s\n", bootpath);
153 env_setenv("currdev", EV_VOLATILE, bootpath,
155 env_setenv("loaddev", EV_VOLATILE, bootpath, env_noset,
/freebsd-11-stable/stand/sparc64/loader/
H A Dmain.c139 static char bootpath[64]; variable
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[strle
[all...]
/freebsd-11-stable/stand/powerpc/boot1.chrp/
H A Dboot1.c42 static char bootpath[128]; variable
132 ofw_getprop(chosenh, "bootpath", bootpath, sizeof(bootpath));
135 bootpath[sizeof(bootpath) - 1] = '\0';
137 p = bootpath;
416 " Boot loader: %s\n", bootpath, path);
419 while (bootpath[len] != '\0') len++;
421 memcpy(bootpath_full,bootpath,le
[all...]
/freebsd-11-stable/sbin/sunlabel/
H A Dsunlabel.c113 const char *bootpath);
115 const char *bootpath);
164 const char *bootpath; local
169 bootpath = _PATH_BOOT;
174 bootpath = optarg;
226 write_label(&sl, disk, bootpath);
233 edit_label(&sl, disk, bootpath);
241 write_label(&sl, disk, bootpath);
246 write_label(&sl, disk, bootpath);
395 write_label(struct sun_disklabel *sl, const char *disk, const char *bootpath) argument
481 edit_label(struct sun_disklabel *sl, const char *disk, const char *bootpath) argument
[all...]
/freebsd-11-stable/stand/sparc64/boot1/
H A Dboot1.c42 static char bootpath[128]; variable
116 ofw_getprop(chosenh, "bootpath", bootpath, sizeof(bootpath));
119 bootpath[sizeof(bootpath) - 1] = '\0';
344 bootpath);
347 " Boot loader: %s\n", bootpath, path);
350 if (domount(bootpath) == -1)
/freebsd-11-stable/stand/mips/beri/loader/
H A Dmain.c147 printf("bootpath=\"%s\"\n", bootpath);

Completed in 96 milliseconds