git: usr.sbin/fstyp: Port fstyp from FreeBSD
Tomohiro Kusumi
tkusumi at crater.dragonflybsd.org
Thu Jun 2 16:47:33 PDT 2016
commit 551c4c362a7f8c4ae74e04ff6405c1b9eea40751
Author: Tomohiro Kusumi <kusumi.tomohiro at gmail.com>
Date: Wed May 18 16:58:01 2016 +0900
usr.sbin/fstyp: Port fstyp from FreeBSD
Brought in from FreeBSD at GitHub 3e3c248f832f796881ac2ce0d45049552e8d9a9b.
Needed by autofs.
Removed ZFS and GEOM support.
Added HAMMER support.
Note that fstyp has been changed to test a filesystem type vector
fsvtypes[] in addition to the existing fstypes[]. This is a bit
ad-hoc, but was necessary to support partial volume(s) for HAMMER
without a major code rewrite.
Summary of changes:
usr.sbin/fstyp/Makefile | 10 ++
usr.sbin/fstyp/cd9660.c | 60 +++++++++++
usr.sbin/fstyp/ext2fs.c | 83 ++++++++++++++++
usr.sbin/fstyp/fstyp.8 | 149 ++++++++++++++++++++++++++++
usr.sbin/fstyp/fstyp.c | 253 +++++++++++++++++++++++++++++++++++++++++++++++
usr.sbin/fstyp/fstyp.h | 52 ++++++++++
usr.sbin/fstyp/hammer.c | 192 +++++++++++++++++++++++++++++++++++
usr.sbin/fstyp/msdosfs.c | 173 ++++++++++++++++++++++++++++++++
usr.sbin/fstyp/msdosfs.h | 141 ++++++++++++++++++++++++++
usr.sbin/fstyp/ntfs.c | 161 ++++++++++++++++++++++++++++++
usr.sbin/fstyp/ufs.c | 111 +++++++++++++++++++++
11 files changed, 1385 insertions(+)
create mode 100644 usr.sbin/fstyp/Makefile
create mode 100644 usr.sbin/fstyp/cd9660.c
create mode 100644 usr.sbin/fstyp/ext2fs.c
create mode 100644 usr.sbin/fstyp/fstyp.8
create mode 100644 usr.sbin/fstyp/fstyp.c
create mode 100644 usr.sbin/fstyp/fstyp.h
create mode 100644 usr.sbin/fstyp/hammer.c
create mode 100644 usr.sbin/fstyp/msdosfs.c
create mode 100644 usr.sbin/fstyp/msdosfs.h
create mode 100644 usr.sbin/fstyp/ntfs.c
create mode 100644 usr.sbin/fstyp/ufs.c
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/551c4c362a7f8c4ae74e04ff6405c1b9eea40751
--
DragonFly BSD source repository
More information about the Commits
mailing list