git: sbin/fsck_hammer2: Add -P option to print PFS information

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Wed Sep 30 08:53:47 PDT 2020


commit 0a013d46098e83438e54b17cca48eb20a2429b2e
Author: Tomohiro Kusumi <tkusumi at netbsd.org>
Date:   Thu Oct 1 01:34:08 2020 +0900

    sbin/fsck_hammer2: Add -P option to print PFS information
    
    This prints PFS info, in the same format as "pfs-list" in hammer2(8).
    
    The problem with "pfs-list" is it requires HAMMER2 inode, but in order
    to mount HAMMER2, PFS label is required. This option provides "pfs-list"
    equivalent via block device.

Summary of changes:
 sbin/fsck_hammer2/fsck_hammer2.8 |   5 +-
 sbin/fsck_hammer2/fsck_hammer2.c |   8 ++-
 sbin/fsck_hammer2/fsck_hammer2.h |   1 +
 sbin/fsck_hammer2/test.c         | 145 ++++++++++++++++++++++++++++++++-------
 4 files changed, 131 insertions(+), 28 deletions(-)

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/0a013d46098e83438e54b17cca48eb20a2429b2e


-- 
DragonFly BSD source repository


More information about the Commits mailing list