Lines Matching defs:bootfs
266 "-B zfs-bootfs=%s,bootpath=\"%s\"\n", kernel,
270 "-B zfs-bootfs=%s,bootpath=\"%s\"\n", kernel,
732 } else if (strcmp(tok, "bootfs") == 0) {
733 char *bootfs = strtok(NULL, BE_WHITE_SPACE);
735 if (bootfs == NULL)
738 if (strcmp(bootfs, be_root_ds) == 0) {
744 strcmp(bootfs, be_orig_root_ds) == 0 &&
758 * and the bootfs line store these. Also
768 * Store the new bootfs line.
770 (void) snprintf(str, BUFSIZ, "bootfs %s\n",
852 (void) fprintf(menu_fp, "bootfs %s\n", be_root_ds);
1079 * entry without finding a 'bootfs' directive. We
1111 } else if (strcmp(tok, "bootfs") == 0) {
1112 char *bootfs = NULL;
1115 * Found a 'bootfs' line. See if it matches the
1118 if ((bootfs = strtok(NULL, BE_WHITE_SPACE)) == NULL ||
1119 strcmp(bootfs, be_root_ds) != 0) {
1121 * Either there's nothing after the 'bootfs'
1142 /* Write this 'bootfs' line out. */
1352 * the grub menu. If no default entry is found with a valid bootfs
1357 * def_bootfs - This is used to pass back the bootfs string. On
1456 if (strcmp(tok, "bootfs") == 0) {
1478 * no bootfs entry for the default entry.
1646 } else if (strcmp(tok, "bootfs") == 0) {
1647 char *bootfs = strtok(NULL, BE_WHITE_SPACE);
1648 if (bootfs == NULL)
1651 if (strcmp(bootfs, be_root_ds) == 0) {
1943 } else if (strcmp(c, "bootfs") == 0) {
1945 * Found a 'bootfs' line, parse out the BE root
1952 * Nothing after 'bootfs', just push
1958 * If this bootfs is the one we're renaming,
1963 sizeof (new_line), "bootfs %s\n",
2108 if (strcmp(tok, "bootfs") == 0) {
2119 * check for bootfs.