git: sbin/hammer: Make hammer show print record type in text

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sat Mar 5 03:54:55 PST 2016


commit 1f17336486c7bdf510d834b479640a37242159e9
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Thu Mar 3 00:53:12 2016 +0900

    sbin/hammer: Make hammer show print record type in text
    
    hammer show prints "dir-entry" for each directory entry record.
    Do the same for the rest of record types, e.g. "inode".
    
    Add indentation for lines that show record information.
    
    Makes the result a bit more readable for anyone who doesn't
    know or memorize what rt=%02x type means.

Summary of changes:
 sbin/hammer/cmd_show.c | 23 ++++++++++++-----------
 1 file changed, 12 insertions(+), 11 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/1f17336486c7bdf510d834b479640a37242159e9


-- 
DragonFly BSD source repository



More information about the Commits mailing list