sbin/hammer: Add verbose volume message while recovering

Operating Systems / DragonFlyBSD - Tomohiro Kusumi [gmail.com] - 7 August 2016 07:10 UTC

sizetostr() is brought from newfs_hammer code.

newfs_hammer should use sizetostr() by linking sbin/hammer/misc.o, as it already has dependencies on other sbin/hammer/*.o. (Also note that hammer2 also has sizetostr() in both directories)

c12351c sbin/hammer: Add verbose volume message while recovering
sbin/hammer/cmd_recover.c | 3 +++
sbin/hammer/hammer.h | 1 +
sbin/hammer/misc.c | 23 +++++++++++++++++++++++
3 files changed, 27 insertions(+)

Upstream: gitweb.dragonflybsd.org


  • Share