git: tcplay - update to version 0.9
Alex Hornung
alexh at crater.dragonflybsd.org
Tue Jul 26 07:57:40 PDT 2011
commit 81b79547078ddd405084290ba8ea5380ec6bd811
Author: Alex Hornung <ahornung at gmail.com>
Date: Tue Jul 26 15:13:18 2011 +0100
tcplay - update to version 0.9
new stuff of relevance to DragonFly:
* Backup header is now written on volume creation.
* custom humanize function that is more flexible in what it understands
and produces nicer results for tcplay, as well as being portable.
* support for non-512 byte sector size
* better memory freeing. Instead of just doing lazy freeing at end of
API operations or execution, free up as much as possible after each
individual operation.
* Bug fix: adjust volume size so backup header is never overwritten.
Summary of changes:
lib/libtcplay/Makefile | 1 +
lib/libtcplay/crc32.c | 1 +
lib/libtcplay/crc32.h | 2 +-
lib/libtcplay/crypto-dev.c | 297 +++---------------------------
lib/libtcplay/crypto.c | 272 ++++++++++++++++++++++++++++
lib/libtcplay/generic_xts.c | 175 ++++++++++++++++++
lib/libtcplay/generic_xts.h | 49 +++++
lib/libtcplay/hdr.c | 97 +++++++++--
lib/libtcplay/humanize.c | 192 ++++++++++++++++++++
lib/libtcplay/humanize.h | 32 ++++
lib/libtcplay/io.c | 105 +++++++++++-
lib/libtcplay/pbkdf2-openssl.c | 61 +++++++
lib/libtcplay/safe_mem.c | 1 +
lib/libtcplay/tcplay.3 | 4 +-
lib/libtcplay/tcplay.c | 376 +++++++++++++++++++++++++++++---------
lib/libtcplay/tcplay.h | 37 +++-
lib/libtcplay/tcplay_api.c | 4 +-
lib/libtcplay/tcplay_api.h | 2 +-
lib/libtcplay/tcplay_api_test.c | 2 +-
sbin/tcplay/Makefile | 1 +
sbin/tcplay/main.c | 9 +-
21 files changed, 1329 insertions(+), 391 deletions(-)
create mode 100644 lib/libtcplay/crypto.c
create mode 100644 lib/libtcplay/generic_xts.c
create mode 100644 lib/libtcplay/generic_xts.h
create mode 100644 lib/libtcplay/humanize.c
create mode 100644 lib/libtcplay/humanize.h
create mode 100644 lib/libtcplay/pbkdf2-openssl.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/81b79547078ddd405084290ba8ea5380ec6bd811
--
DragonFly BSD source repository
More information about the Commits
mailing list