Lines Matching defs:backup
4336 bam_error(_("failed to create backup for GRUB menu: %s\n"),
4340 BAM_DPRINTF(("%s: successfully created backup GRUB menu: %s\n",
4349 bam_error(_("error propagating backup GRUB menu: %s\n"),
4353 BAM_DPRINTF(("%s: successfully propagated backup GRUB menu: %s\n",
5668 char backup[PATH_MAX];
5677 * Look at the backup
5679 (void) snprintf(backup, sizeof (backup), "%s%s",
5682 bfp = fopen(backup, "r");
5687 backup, strerror(error));
5690 fcn, backup, strerror(error)));
5717 BAM_DPRINTF(("%s: existing backup signs: zfs=%s ufs=%s lu=%s\n", fcn,
5760 BAM_DPRINTF(("%s: existing backup sign: %s\n", fcn,
6204 BAM_DPRINTF(("%s: existing backup sign: %s\n", fcn,
7171 char backup[PATH_MAX];
7180 (void) snprintf(backup, sizeof (backup), "%s%s",
7183 /* First read the backup */
7184 bfp = fopen(backup, "r");
7188 BAM_DPRINTF(("%s: found sign (%s) in backup.\n",
7195 BAM_DPRINTF(("%s: backup exists but sign %s not found\n",
7198 BAM_DPRINTF(("%s: no backup file (%s) found.\n", fcn, backup));
7207 backup_dup = s_strdup(backup);
7214 BAM_DPRINTF(("%s: backup dir (%s) does not exist.\n",
7220 bam_error(_("mkdirp() of backup dir failed: %s: %s\n"),
7229 * Open the backup in append mode to add the correct
7232 bfp = fopen(backup, "a");
7236 bam_error(_("error opening boot signature backup "
7247 bam_error(_("error writing boot signature backup "
7256 bam_print(_("updated boot signature backup file %s\n"),
7324 BAM_DPRINTF(("%s: setting UFS backup sign\n", fcn));
7327 BAM_DPRINTF(("%s: setting ZFS backup sign\n", fcn));
7610 bam_error(_("failed to set backup sign (%s) for %s: %s\n"),