git: mtree(8): Replace our mtree(8) with NetBSD's version.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Jul 22 07:58:55 PDT 2018


commit 2f6d3139ecacca3533517516db002cf436f78918
Author: Sascha Wildner <saw at online.de>
Date:   Sun Jul 22 16:57:40 2018 +0200

    mtree(8): Replace our mtree(8) with NetBSD's version.
    
    Some of its files will be used by other stuff we want to upgrade or
    bring in, such as install(1) and makefs(8).
    
    Since mtree(8) is a bootstrap tool and I want this to be painless,
    I've imported some other source files that mtree(8) uses, such as
    from mknod(1), which we don't have, as part of mtree(8).

Summary of changes:
 usr.sbin/mtree/Makefile     |  22 +-
 usr.sbin/mtree/compare.c    | 592 +++++++++++++++++++----------
 usr.sbin/mtree/crc.c        | 155 ++++++++
 usr.sbin/mtree/create.c     | 518 +++++++++++++++-----------
 usr.sbin/mtree/excludes.c   |  60 +--
 usr.sbin/mtree/extern.h     |  72 +++-
 usr.sbin/mtree/getid.c      | 443 ++++++++++++++++++++++
 usr.sbin/mtree/misc.c       | 250 +++++++++++--
 usr.sbin/mtree/mtree.8      | 811 ++++++++++++++++++++++++++++++----------
 usr.sbin/mtree/mtree.c      | 231 ++++++++++--
 usr.sbin/mtree/mtree.h      | 128 +++++--
 usr.sbin/mtree/only.c       | 147 ++++++++
 usr.sbin/mtree/pack_dev.c   | 285 ++++++++++++++
 usr.sbin/mtree/pack_dev.h   |  47 +++
 usr.sbin/mtree/spec.c       | 878 +++++++++++++++++++++++++++++++++++---------
 usr.sbin/mtree/specspec.c   | 270 ++++++++++++++
 usr.sbin/mtree/stat_flags.c | 179 +++++++++
 usr.sbin/mtree/verify.c     | 206 +++++++----
 18 files changed, 4311 insertions(+), 983 deletions(-)
 create mode 100644 usr.sbin/mtree/crc.c
 create mode 100644 usr.sbin/mtree/getid.c
 create mode 100644 usr.sbin/mtree/only.c
 create mode 100644 usr.sbin/mtree/pack_dev.c
 create mode 100644 usr.sbin/mtree/pack_dev.h
 create mode 100644 usr.sbin/mtree/specspec.c
 create mode 100644 usr.sbin/mtree/stat_flags.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/2f6d3139ecacca3533517516db002cf436f78918


-- 
DragonFly BSD source repository



More information about the Commits mailing list