git: Bring in most of makefs(8) from FreeBSD unchanged.

Sascha Wildner swildner at crater.dragonflybsd.org
Sun Feb 10 03:07:16 PST 2019


commit 5978408cff2328494a506cbe167612129b5db833
Author: Sascha Wildner <saw at online.de>
Date:   Sun Feb 10 09:11:11 2019 +0100

    Bring in most of makefs(8) from FreeBSD unchanged.
    
    To create filesystem images without kernel involvement. We can use it
    to create our initrd without needing vn(4).
    
    Originally from NetBSD.

Summary of changes:
 usr.sbin/makefs/Makefile                   |   38 +
 usr.sbin/makefs/cd9660.c                   | 2133 ++++++++++++++++++++++++++++
 usr.sbin/makefs/cd9660.h                   |  358 +++++
 usr.sbin/makefs/cd9660/Makefile.inc        |    9 +
 usr.sbin/makefs/cd9660/cd9660_archimedes.c |  126 ++
 usr.sbin/makefs/cd9660/cd9660_archimedes.h |   52 +
 usr.sbin/makefs/cd9660/cd9660_conversion.c |  202 +++
 usr.sbin/makefs/cd9660/cd9660_debug.c      |  489 +++++++
 usr.sbin/makefs/cd9660/cd9660_eltorito.c   |  742 ++++++++++
 usr.sbin/makefs/cd9660/cd9660_eltorito.h   |  168 +++
 usr.sbin/makefs/cd9660/cd9660_strings.c    |  122 ++
 usr.sbin/makefs/cd9660/cd9660_write.c      |  514 +++++++
 usr.sbin/makefs/cd9660/iso9660_rrip.c      |  841 +++++++++++
 usr.sbin/makefs/cd9660/iso9660_rrip.h      |  294 ++++
 usr.sbin/makefs/ffs.c                      | 1185 ++++++++++++++++
 usr.sbin/makefs/ffs.h                      |   73 +
 usr.sbin/makefs/ffs/Makefile.inc           |    9 +
 usr.sbin/makefs/ffs/buf.c                  |  216 +++
 usr.sbin/makefs/ffs/buf.h                  |   77 +
 usr.sbin/makefs/ffs/ffs_alloc.c            |  683 +++++++++
 usr.sbin/makefs/ffs/ffs_balloc.c           |  580 ++++++++
 usr.sbin/makefs/ffs/ffs_bswap.c            |  261 ++++
 usr.sbin/makefs/ffs/ffs_extern.h           |   79 ++
 usr.sbin/makefs/ffs/ffs_subr.c             |  184 +++
 usr.sbin/makefs/ffs/mkfs.c                 |  837 +++++++++++
 usr.sbin/makefs/ffs/newfs_extern.h         |   38 +
 usr.sbin/makefs/ffs/ufs_bmap.c             |  142 ++
 usr.sbin/makefs/ffs/ufs_bswap.h            |   83 ++
 usr.sbin/makefs/ffs/ufs_inode.h            |   99 ++
 usr.sbin/makefs/makefs.8                   |  428 ++++++
 usr.sbin/makefs/makefs.c                   |  506 +++++++
 usr.sbin/makefs/makefs.h                   |  304 ++++
 usr.sbin/makefs/mtree.c                    | 1112 +++++++++++++++
 usr.sbin/makefs/walk.c                     |  698 +++++++++
 34 files changed, 13682 insertions(+)
 create mode 100644 usr.sbin/makefs/Makefile
 create mode 100644 usr.sbin/makefs/cd9660.c
 create mode 100644 usr.sbin/makefs/cd9660.h
 create mode 100644 usr.sbin/makefs/cd9660/Makefile.inc
 create mode 100644 usr.sbin/makefs/cd9660/cd9660_archimedes.c
 create mode 100644 usr.sbin/makefs/cd9660/cd9660_archimedes.h
 create mode 100644 usr.sbin/makefs/cd9660/cd9660_conversion.c
 create mode 100644 usr.sbin/makefs/cd9660/cd9660_debug.c
 create mode 100644 usr.sbin/makefs/cd9660/cd9660_eltorito.c
 create mode 100644 usr.sbin/makefs/cd9660/cd9660_eltorito.h
 create mode 100644 usr.sbin/makefs/cd9660/cd9660_strings.c
 create mode 100644 usr.sbin/makefs/cd9660/cd9660_write.c
 create mode 100644 usr.sbin/makefs/cd9660/iso9660_rrip.c
 create mode 100644 usr.sbin/makefs/cd9660/iso9660_rrip.h
 create mode 100644 usr.sbin/makefs/ffs.c
 create mode 100644 usr.sbin/makefs/ffs.h
 create mode 100644 usr.sbin/makefs/ffs/Makefile.inc
 create mode 100644 usr.sbin/makefs/ffs/buf.c
 create mode 100644 usr.sbin/makefs/ffs/buf.h
 create mode 100644 usr.sbin/makefs/ffs/ffs_alloc.c
 create mode 100644 usr.sbin/makefs/ffs/ffs_balloc.c
 create mode 100644 usr.sbin/makefs/ffs/ffs_bswap.c
 create mode 100644 usr.sbin/makefs/ffs/ffs_extern.h
 create mode 100644 usr.sbin/makefs/ffs/ffs_subr.c
 create mode 100644 usr.sbin/makefs/ffs/mkfs.c
 create mode 100644 usr.sbin/makefs/ffs/newfs_extern.h
 create mode 100644 usr.sbin/makefs/ffs/ufs_bmap.c
 create mode 100644 usr.sbin/makefs/ffs/ufs_bswap.h
 create mode 100644 usr.sbin/makefs/ffs/ufs_inode.h
 create mode 100644 usr.sbin/makefs/makefs.8
 create mode 100644 usr.sbin/makefs/makefs.c
 create mode 100644 usr.sbin/makefs/makefs.h
 create mode 100644 usr.sbin/makefs/mtree.c
 create mode 100644 usr.sbin/makefs/walk.c

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/5978408cff2328494a506cbe167612129b5db833


-- 
DragonFly BSD source repository


More information about the Commits mailing list