Lines Matching refs:backup

4363 		bam_error(_("failed to create backup for GRUB menu: %s\n"),
4367 BAM_DPRINTF(("%s: successfully created backup GRUB menu: %s\n",
4376 bam_error(_("error propagating backup GRUB menu: %s\n"),
4380 BAM_DPRINTF(("%s: successfully propagated backup GRUB menu: %s\n",
5695 char backup[PATH_MAX];
5704 * Look at the backup
5706 (void) snprintf(backup, sizeof (backup), "%s%s",
5709 bfp = fopen(backup, "r");
5714 backup, strerror(error));
5717 fcn, backup, strerror(error)));
5744 BAM_DPRINTF(("%s: existing backup signs: zfs=%s ufs=%s lu=%s\n", fcn,
5787 BAM_DPRINTF(("%s: existing backup sign: %s\n", fcn,
6231 BAM_DPRINTF(("%s: existing backup sign: %s\n", fcn,
7198 char backup[PATH_MAX];
7207 (void) snprintf(backup, sizeof (backup), "%s%s",
7210 /* First read the backup */
7211 bfp = fopen(backup, "r");
7215 BAM_DPRINTF(("%s: found sign (%s) in backup.\n",
7222 BAM_DPRINTF(("%s: backup exists but sign %s not found\n",
7225 BAM_DPRINTF(("%s: no backup file (%s) found.\n", fcn, backup));
7234 backup_dup = s_strdup(backup);
7241 BAM_DPRINTF(("%s: backup dir (%s) does not exist.\n",
7247 bam_error(_("mkdirp() of backup dir failed: %s: %s\n"),
7256 * Open the backup in append mode to add the correct
7259 bfp = fopen(backup, "a");
7263 bam_error(_("error opening boot signature backup "
7274 bam_error(_("error writing boot signature backup "
7283 bam_print(_("updated boot signature backup file %s\n"),
7351 BAM_DPRINTF(("%s: setting UFS backup sign\n", fcn));
7354 BAM_DPRINTF(("%s: setting ZFS backup sign\n", fcn));
7637 bam_error(_("failed to set backup sign (%s) for %s: %s\n"),