commit 8adee7de1428f5412bc3cb872362dd5a84e72d4e Author: Matthew Dillon <dil...@apollo.backplane.com> Date: Tue Aug 5 00:04:24 2014 -0700
hammer2 - Add directives for setting the check mode * Add setcheck, setcrc32, and a few other directives for setting the crc check mode on a directory or file. The inode and any new chains or modifications will inherit the mode. * Make adjustments to stat and show to display more information. Summary of changes: sbin/hammer2/Makefile | 3 +- sbin/hammer2/cmd_debug.c | 12 ++++ sbin/hammer2/cmd_setcheck.c | 149 ++++++++++++++++++++++++++++++++++++++++++++ sbin/hammer2/cmd_setcomp.c | 4 +- sbin/hammer2/cmd_stat.c | 32 +++++++++- sbin/hammer2/hammer2.h | 1 + sbin/hammer2/main.c | 36 ++++++++++- sbin/hammer2/print_inode.c | 2 + 8 files changed, 234 insertions(+), 5 deletions(-) create mode 100644 sbin/hammer2/cmd_setcheck.c http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/8adee7de1428f5412bc3cb872362dd5a84e72d4e -- DragonFly BSD source repository