DragonFly BSD
DragonFly commits List (threaded) for 2012-05
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

git: hammer2 hammer2 - Add 'hammer2 stat'


From: Matthew Dillon <dillon@xxxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 19 May 2012 15:21:53 -0700 (PDT)

commit ad7cf8eac98d492c34f19cf19c9e22d9addbbda4
Author: Matthew Dillon <dillon@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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]