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

/illumos-gate/usr/src/psm/promif/ieee1275/common/
H A Dprom_boot.c66 static char bootpath[OBP_MAXPATHLEN]; local
69 static char *name = "bootpath";
71 if (bootpath[0] != (char)0)
72 return (bootpath);
82 (void) prom_bounded_getprop(node, name, bootpath, length);
83 return (bootpath);
/illumos-gate/usr/src/boot/sys/boot/ofw/common/
H A Dmain.c95 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,
/illumos-gate/usr/src/uts/common/os/
H A Dswapgeneric.c79 static int load_bootpath_drivers(char *bootpath);
83 static boolean_t netboot_over_ib(char *bootpath);
583 get_bootpath_prop(char *bootpath) argument
586 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1)
588 (void) strlcat(bootpath, ":a", BO_MAXOBJNAME);
591 * Look for the 1275 compliant name 'bootpath' first,
594 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) ||
595 strlen(bootpath) == 0) {
597 "boot-path", bootpath)
895 load_bootpath_drivers(char *bootpath) argument
1163 netboot_over_ib(char *bootpath) argument
1200 char bootpath[OBP_MAXPATHLEN]; local
[all...]
H A Discsiboot_prop.c291 * Generate the 'ssd' bootpath of an iSCSI boot device
295 get_iscsi_bootpath_vhci(char *bootpath) argument
304 (void) snprintf(bootpath, BO_MAXOBJNAME, "/iscsi/ssd@%s%s%04X,%d:%s",
311 * Generate the 'disk' bootpath of an iSCSI boot device
315 get_iscsi_bootpath_phy(char *bootpath) argument
329 (void) snprintf(bootpath, BO_MAXOBJNAME, "/iscsi/disk@%s%s%04X,%d:%s",
/illumos-gate/usr/src/uts/common/sys/
H A Dbootprops.h61 #define BP_ISCSI_NETWORK_BOOTPATH "iscsi-network-bootpath"
63 #define BP_BOOTPATH "bootpath"
159 get_iscsi_bootpath_vhci(char *bootpath);
162 get_iscsi_bootpath_phy(char *bootpath);
/illumos-gate/usr/src/boot/sys/boot/sparc64/loader/
H A Dmain.c142 static char bootpath[64]; variable
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[sizeo
[all...]
/illumos-gate/usr/src/cmd/luxadm/
H A Dfcalupdate.c116 static char bootpath[PATH_MAX]; variable
194 (void) fprintf(stdout, " Bootpath: %s\n", bootpath);
207 if (fflag && (strcmp(slotname, bootpath) == 0)) {
209 MSGSTR(4504, " Ignoring %s (bootpath)\n"), slotname);
623 (void) memset((char *)&bootpath[0], 0, PATH_MAX);
662 (void) memset((char *)&bootpath[0], 0, PATH_MAX);
663 (void) strcat(bootpath, bootdev);
664 (void) strcat(bootpath, sbusmem);
666 (void) strncat(bootpath, p2, 1);
667 (void) strcat(bootpath, slo
[all...]
H A Dqlgcupdate.c148 static uchar_t bootpath[PATH_MAX]; local
242 /* get bootpath */
243 if (!q_getbootdev((uchar_t *)&bootpath[0]) &&
245 (void) fprintf(stdout, " Bootpath: %s\n", bootpath);
268 if (fflag && (strstr((char *)bootpath,
271 MSGSTR(21005, "Ignoring %s (bootpath)\n"),
701 q_getbootdev(uchar_t *bootpath) argument
746 * Copy boot device path to bootpath. First remove leading
756 (void) strcpy((char *)bootpath, (char *)p);
758 (void) strcat((char *)bootpath, slo
1051 static uchar_t bootpath[PATH_MAX]; local
[all...]
/illumos-gate/usr/src/boot/sys/boot/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)
/illumos-gate/usr/src/uts/common/io/
H A Dopenprom.c323 get_bootpath_prop(char *bootpath) argument
326 if (BOP_GETPROP(bootops, "bootarchive", bootpath) == -1)
328 (void) strlcat(bootpath, ":a", BO_MAXOBJNAME);
330 if ((BOP_GETPROP(bootops, "bootpath", bootpath) == -1) ||
331 strlen(bootpath) == 0) {
333 "boot-path", bootpath) == -1)
336 if (memcmp(bootpath, BP_ISCSI_DISK,
338 get_iscsi_bootpath_vhci(bootpath);
/illumos-gate/usr/src/cmd/stmsboot/
H A Dmpxio-upgrade254 # Update bootpath for x86 here when we are enabling mpxio on root
259 cecho "stmsboot: ERROR! Unable to retrieve bootpath property\n"
265 # bootpath variable have a good chance of differing. We do some
266 # extra handwaving to get the correct bootpath variable setting.
268 ONDISKVER=`$AWK '/bootpath/ {print $3}' /boot/solaris/bootenv.rc|\
288 $EEPROM bootpath="$new_bootpath"
289 cecho "stmsboot: bootpath has been updated"
358 # only update bootpath here for x86
H A Dstmsboot.sh260 #only update bootpath for x86.
262 $EEPROM bootpath="$new_bootpath"
387 # Need to update bootpath on x86 if boot system from FC disk
388 # Only update bootpath here when mpxio is enabled
389 # If mpxio is currently disabled, then we'll update bootpath in the
405 # bootpath variable have a good chance of differing. We do some
406 # extra handwaving to get the correct bootpath variable setting.
408 ONDISKVER=`$AWK '/bootpath/ {print $3}' /boot/solaris/bootenv.rc|\
612 # Need to update bootpath on x86 if our boot device is
614 # Only update bootpath befor
[all...]
/illumos-gate/usr/src/grub/grub-0.97/stage2/
H A Dfsys_zfs.c1449 * The caller should already allocate MAXPATHLEN memory for bootpath and devid.
1452 vdev_get_bootpath(char *nv, uint64_t inguid, char *devid, char *bootpath, argument
1484 bootpath, DATA_TYPE_STRING, NULL) != 0)
1485 bootpath[0] = '\0';
1491 if (grub_strlen(bootpath) >= MAXPATHLEN ||
1512 bootpath, is_spare) == 0)
/illumos-gate/usr/src/cmd/cmd-inet/usr.lib/wanboot/wanboot-cgi/
H A Dwanboot-cgi.c1694 char *bootpath = NULL; local
1788 if (!bootfile_payload(docroot, &bootpath)) {
1791 payload = bootpath;
1893 free_path(&bootpath);
/illumos-gate/usr/src/uts/i86pc/os/
H A Dfakebop.c940 bsetprops("bootpath", vbdpath);
942 DBG_MSG("VBD bootpath set to ");

Completed in 152 milliseconds