git: hammer2 - Add 'hash' directive

Matthew Dillon dillon at crater.dragonflybsd.org
Sun May 12 20:17:34 PDT 2013


commit 775153c21c9bf4fe08c62b00ce36092329a2faec
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date:   Sun May 12 20:16:45 2013 -0700

    hammer2 - Add 'hash' directive
    
    * Add hammer2 hash <filename>* which calculates and prints out the
      64-bit directory hash code for a filename, for debugging purposes.

Summary of changes:
 sbin/hammer2/Makefile    |  2 +-
 sbin/hammer2/cmd_debug.c | 12 +++++++++
 sbin/hammer2/hammer2.h   |  2 ++
 sbin/hammer2/icrc.c      |  2 ++
 sbin/hammer2/main.c      |  3 +++
 sbin/hammer2/subs.c      | 64 ++++++++++++++++++++++++++++++++++++++++++++++++
 6 files changed, 84 insertions(+), 1 deletion(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/775153c21c9bf4fe08c62b00ce36092329a2faec


-- 
DragonFly BSD source repository



More information about the Commits mailing list