History log of /freebsd-current/usr.sbin/fstyp/hammer2.c
Revision Date Author Comments
# 1d386b48 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: one-line .c pattern

Remove /^[\s*]*__FBSDID\("\$FreeBSD\$"\);?\s*\n/


# 0d2913ad 19-Aug-2020 Pedro F. Giffuni <pfg@FreeBSD.org>

usr.sbin/fstyp: Fix incorrect pfs_type test in ondisk inode

"ipdata.meta.pfs_type & HAMMER2_PFSTYPE_SUPROOT" happened to have
the same result (except HAMMER2_PFSTYPE_DUMMY could also match).

Obtained from: Dragonfly (git 29e6489bbd4f8e237c9c17b300ac8b711f36770)


# 9d529ed8 06-Feb-2020 Pedro F. Giffuni <pfg@FreeBSD.org>

fstyp: sync HAMMER1/2 detection support with DragonFly BSD.

Submitted by: Tomohiro Kusumi
PR: 243929


# 5a128153 13-Jan-2020 Eric van Gyzen <vangyzen@FreeBSD.org>

fstyp hammer2: remove dead code

best_i will always be >= 0, so remove code to test otherwise.

Reported by: Coverity
CID: 1412244
MFC after: 2 weeks
Sponsored by: Dell EMC Isilon
Differential Revision: https://reviews.freebsd.org/D23159


# 509798ea 24-Dec-2019 Pedro F. Giffuni <pfg@FreeBSD.org>

sbin/fstyp: recgonize Dragonfly's hammer and hammer2.

This is based on DragonFly's implementation from about 2019-09-13. It
only contains the basic code and header information to identify the
disks.

Relnotes: yes
Differential Revision: https://reviews.freebsd.org/D13369