Home
last modified time | relevance | path

Searched refs:backup_file (Results 1 – 11 of 11) sorted by relevance

/dragonfly/contrib/cryptsetup/luks/
HDkeymanage.c82 const char *backup_file, in LUKS_hdr_backup() argument
92 if(stat(backup_file, &st) == 0) { in LUKS_hdr_backup()
93 log_err(ctx, _("Requested file %s already exist.\n"), backup_file); in LUKS_hdr_backup()
127 devfd = creat(backup_file, S_IRUSR); in LUKS_hdr_backup()
133 log_err(ctx, _("Cannot write header backup file %s.\n"), backup_file); in LUKS_hdr_backup()
148 const char *backup_file, in LUKS_hdr_restore() argument
159 if(stat(backup_file, &st) < 0) { in LUKS_hdr_restore()
160 log_err(ctx, _("Backup file %s doesn't exist.\n"), backup_file); in LUKS_hdr_restore()
164 r = LUKS_read_phdr_backup(backup_file, device, &hdr_file, 0, ctx); in LUKS_hdr_restore()
179 devfd = open(backup_file, O_RDONLY); in LUKS_hdr_restore()
[all …]
HDluks.h106 const char *backup_file,
113 const char *backup_file,
119 const char *backup_file,
/dragonfly/contrib/cryptsetup/lib/
HDlibcryptsetup.h476 const char *backup_file);
489 const char *backup_file);
HDsetup.c1212 const char *backup_file) in crypt_header_backup() argument
1214 if ((requested_type && !isLUKS(requested_type)) || !backup_file) in crypt_header_backup()
1224 "file %s.", cd->device, requested_type, backup_file); in crypt_header_backup()
1226 return LUKS_hdr_backup(backup_file, cd->device, &cd->hdr, cd); in crypt_header_backup()
1231 const char *backup_file) in crypt_header_restore() argument
1243 "file %s.", cd->device, requested_type, backup_file); in crypt_header_restore()
1245 return LUKS_hdr_restore(backup_file, cd->device, &cd->hdr, cd); in crypt_header_restore()
/dragonfly/usr.bin/patch/
HDutil.h31 int backup_file(const char *);
HDutil.c74 if (backup_file(to) < 0) { in move_file()
96 backup_file(const char *orig) in backup_file() function
/dragonfly/contrib/cvs-1.12/src/
HDsubr.h40 char *backup_file (const char *file, const char *suffix);
HDsubr.c755 backup_file (const char *filename, const char *suffix) in backup_file() function
HDupdate.c684 bakname = backup_file (finfo->file, vers->vn_user); in update_fileproc()
HDclient.c4554 bakname = backup_file (filename, vers->vn_user); in send_fileproc()
/dragonfly/etc/
HDrc.subr1407 # backup_file action file cur backup
1433 backup_file()