Lines Matching refs:fstype

5600 find_primary_common(char *mntpt, char *fstype)
5666 if (strcmp(fstype, "ufs") == 0 && zfs) {
5671 } else if (strcmp(fstype, "zfs") == 0 && ufs) {
5691 find_backup_common(char *mntpt, char *fstype)
5754 if (strcmp(fstype, "ufs") == 0 && zfs) {
5759 } else if (strcmp(fstype, "zfs") == 0 && ufs) {
5797 get_mountpoint(char *special, char *fstype)
5806 BAM_DPRINTF(("%s: entered. args: %s %s\n", fcn, special, fstype));
5818 mpref.mnt_fstype = fstype;
5825 "fstype=%s\n", fcn, special, fstype));
6245 find_existing_sign(char *osroot, char *osdev, char *fstype)
6249 INJECT_ERROR1("FIND_EXIST_NOTSUP_FS", fstype = "foofs");
6250 if (strcmp(fstype, "ufs") == 0) {
6253 } else if (strcmp(fstype, "zfs") == 0) {
6257 bam_error(_("boot signature not supported for fstype: %s\n"),
6258 fstype);
6339 "fstype=%s\n", fcn, ctds, mnt.mnt_mountp, mnt.mnt_fstype));
6468 char *fstype;
6512 fstype = strtok(flist.head->line, " \t\n");
6513 if (fstype == NULL || strcmp(fstype, "ufs") != 0) {
6516 slice, fstype);
6538 bam_print(_("mount of %s (fstype %s) failed\n"),
7100 bam_error(_("no OS mountpoint. Cannot determine fstype\n"));
7130 bam_error(_("NULL fstype found for OS root %s\n"), osroot);
7170 create_new_sign(char *osdev, char *fstype)
7175 INJECT_ERROR1("NEW_SIGN_FSTYPE", fstype = "foofs");
7177 if (strcmp(fstype, "zfs") == 0) {
7180 } else if (strcmp(fstype, "ufs") == 0) {
7184 bam_error(_("boot signature not supported for fstype: %s\n"),
7185 fstype);
7343 set_backup(char *osroot, char *osdev, char *sign, char *fstype)
7348 INJECT_ERROR1("SET_BACKUP_FSTYPE", fstype = "foofs");
7350 if (strcmp(fstype, "ufs") == 0) {
7353 } else if (strcmp(fstype, "zfs") == 0) {
7357 bam_error(_("boot signature not supported for fstype: %s\n"),
7358 fstype);
7500 set_primary(char *osroot, char *osdev, char *sign, char *fstype)
7505 INJECT_ERROR1("SET_PRIMARY_FSTYPE", fstype = "foofs");
7506 if (strcmp(fstype, "ufs") == 0) {
7509 } else if (strcmp(fstype, "zfs") == 0) {
7513 bam_error(_("boot signature not supported for fstype: %s\n"),
7514 fstype);
7625 set_signature(char *osroot, char *osdev, char *sign, char *fstype)
7631 osroot, osdev, sign, fstype));
7633 ret = set_backup(osroot, osdev, sign, fstype);
7642 ret = set_primary(osroot, osdev, sign, fstype);
7663 char *fstype;
7668 fstype = get_fstype(osroot);
7669 INJECT_ERROR1("GET_GRUBSIGN_FSTYPE", fstype = NULL);
7670 if (fstype == NULL) {
7671 bam_error(_("failed to get fstype for %s\n"), osroot);
7675 sign = find_existing_sign(osroot, osdev, fstype);
7680 sign = create_new_sign(osdev, fstype);
7685 free(fstype);
7690 ret = set_signature(osroot, osdev, sign, fstype);
7696 free(fstype);
7701 free(fstype);
9000 char *fstype;
9065 fstype = get_fstype("/");
9066 INJECT_ERROR1("REBOOT_FSTYPE_NULL", fstype = NULL);
9067 if (fstype == NULL) {
9076 free(fstype);
9082 sign = find_existing_sign("/", osdev, fstype);
9085 free(fstype);
9106 free(fstype);
9119 free(fstype);
9131 if (strcmp(fstype, "zfs") == 0 && !strstr(kernbuf, ZFS_BOOT)) {
9163 free(fstype);
9209 free(fstype);
9226 free(fstype);
9234 free(fstype);
9503 char *fstype;
9699 fstype = get_fstype("/");
9700 INJECT_ERROR1("GET_SET_KERNEL_FSTYPE", fstype = NULL);
9701 if (fstype == NULL) {
9712 free(fstype);
9720 sign = find_existing_sign("/", osdev, fstype);
9723 free(fstype);
9740 if (strcmp(fstype, "zfs") == 0) {
9759 if (strcmp(fstype, "zfs") == 0) {
9776 free(fstype);