git: hammer2 hammer2 - Add 'hammer2 stat'
Matthew Dillon
dillon at crater.dragonflybsd.org
Sat May 19 15:21:53 PDT 2012
commit ad7cf8eac98d492c34f19cf19c9e22d9addbbda4
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Sat May 19 15:21:01 2012 -0700
hammer2 - Add 'hammer2 stat'
* Add the 'hammer2 stat' directive to access inode information not
available from a normal stat.
Currently reports ncopies, data_count, inode_count, data_quota, and
inode_quota.
Summary of changes:
sbin/hammer2/Makefile | 2 +-
sbin/hammer2/cmd_debug.c | 19 ++++--
.../mount_hammer2.c => hammer2/cmd_stat.c} | 75 +++++++++++--------
sbin/hammer2/hammer2.h | 2 +
sbin/hammer2/main.c | 3 +
sbin/hammer2/subs.c | 23 ++++++
6 files changed, 85 insertions(+), 39 deletions(-)
copy sbin/{mount_hammer2/mount_hammer2.c => hammer2/cmd_stat.c} (60%)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/ad7cf8eac98d492c34f19cf19c9e22d9addbbda4
--
DragonFly BSD source repository
More information about the Commits
mailing list