git: sbin/fsck_hammer2: Add initial fsck support for HAMMER2

Tomohiro Kusumi tkusumi at crater.dragonflybsd.org
Sun Sep 22 04:49:45 PDT 2019


commit 5554cc8b81fbfcfd347f50be3f3b1b9a54b871b9
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date:   Sun Sep 22 20:30:10 2019 +0900

    sbin/fsck_hammer2: Add initial fsck support for HAMMER2
    
    Add initial fsck support for HAMMER2,
    although CoW fs doesn't require fsck as a concept.
    Currently no repairing (no write), just verifying.
    
    Keep this as a separate command for now.

Summary of changes:
 sbin/Makefile                    |   1 +
 sbin/fsck_hammer2/Makefile       |  18 ++
 sbin/fsck_hammer2/fsck_hammer2.8 |  77 +++++
 sbin/fsck_hammer2/fsck_hammer2.c |  98 ++++++
 sbin/fsck_hammer2/fsck_hammer2.h |  63 ++++
 sbin/fsck_hammer2/test.c         | 638 +++++++++++++++++++++++++++++++++++++++
 6 files changed, 895 insertions(+)
 create mode 100644 sbin/fsck_hammer2/Makefile
 create mode 100644 sbin/fsck_hammer2/fsck_hammer2.8
 create mode 100644 sbin/fsck_hammer2/fsck_hammer2.c
 create mode 100644 sbin/fsck_hammer2/fsck_hammer2.h
 create mode 100644 sbin/fsck_hammer2/test.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5554cc8b81fbfcfd347f50be3f3b1b9a54b871b9


-- 
DragonFly BSD source repository


More information about the Commits mailing list