Home | History | Annotate | only in /src/usr.sbin/fstyp
History log of /src/usr.sbin/fstyp
RevisionDateAuthorComments
 1.15 26-Apr-2024  christos PR/58202: Malte Dehling: Don't link libzfs
 1.14 03-Jun-2023  lukem adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
which works for both clang and gcc, and remove compiler-specific
equivalents.
 1.13 03-Jun-2023  lukem bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
CLANG_NO_ADDR_OF_PACKED_MEMBER
CC_NO_ADDR_OF_PACKED_MEMBER
GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
 1.12 17-Sep-2021  christos Use CPPFLAGS for -D and -I so that lint works.
 1.11 02-Feb-2021  joerg Ignore address of packed-member for clang too
 1.10 06-Sep-2020  mrg add support for new GCC 9 warnings that may be too much to fix
right now. new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree. mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it. (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.) clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.
 1.9 01-Jan-2020  tkusumi fstyp: Add HAMMER1/2 support

FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
 1.8 27-Dec-2019  tkusumi fstyp: Add APFS support

taken-from: FreeBSD (freebsd/freebsd@171bb54729d6d6554eb09c9a3507b184795f33e3)
 1.7 27-Dec-2019  tkusumi fstyp: Add HFS+ support

taken-from: FreeBSD (freebsd/freebsd@b4d7ad9f787e74e712423def67de8bd76f71943a)
 1.6 18-Nov-2019  tkusumi fstyp: Add exFAT support

Taken-from: FreeBSD and DragonFlyBSD
 1.5 24-Jun-2019  hannken Sync with upstream r315983.

Move files originating from upstream below "dist/":

OPENSOLARIS.LICENSE -> dist/OPENSOLARIS.LICENSE
usr.sbin/zdb/zdb.8 -> dist/cmd/zdb/zdb.8
sbin/zfs/zfs.8 -> dist/cmd/zfs/zfs.8
sbin/zpool/zpool-features.7 -> dist/cmd/zpool/zpool-features.7
sbin/zpool/zpool.8 -> dist/cmd/zpool/zpool.8
include/libintl.h -> dist/head/libintl.h
include/stdio_ext.h -> dist/head/stdio_ext.h
include/thread.h -> dist/head/thread.h
sys/kern/callb.c -> dist/uts/common/os/callb.c
sys/kern/fm.c -> dist/uts/common/os/fm.c
sys/sys/extdirent.h -> dist/uts/common/sys/extdirent.h
sys/sys/isa_defs.h -> dist/uts/common/sys/isa_defs.h
sys/sys/procset.h -> dist/uts/common/sys/procset.h
sys/sys/sysmacros.h -> dist/uts/common/sys/sysmacros.h

Adapt "usr.sbin/fstyp/Makefile".
 1.4 22-Jun-2019  hannken Sync with upstream r315983.

FreeBSD splits "zfs_context.h" into:
"lib/libzpool/common/sys/zfs_context.h" for user space
"uts/common/fs/zfs/sys/zfs_context.h" for kernel space

Do the same here, move and sync "sys/sys/zfs_context.h" to
"dist/lib/libzpool/common/sys/zfs_context.h" and
"dist/uts/common/fs/zfs/sys/zfs_context.h".

Change "Makefile.zfs" to search includes from "dist/lib"
before "dist/uts" so we get the right include file.

Adapt "usr.sbin/fstyp/Makefile" to get the right include file.
 1.3 28-May-2018  chs branches: 1.3.2;
merge a new version of the CDDL dtrace and ZFS code.
this changes the upstream vendor from OpenSolaris to FreeBSD,
and this version is based on FreeBSD svn r315983.

in addition to the 10 years of improvements from upstream,
this version also has these NetBSD-specific enhancements:
- dtrace FBT probes can now be placed in kernel modules.
- ZFS now supports mmap().
 1.2 22-Jan-2018  joerg branches: 1.2.2;
Ignore pragma warnings with clang for the zfs code.
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.2.2.1 25-Jun-2018  pgoyette Sync with HEAD
 1.3.2.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.1 27-Dec-2019  tkusumi branches: 1.1.4;
fstyp: Add APFS support

taken-from: FreeBSD (freebsd/freebsd@171bb54729d6d6554eb09c9a3507b184795f33e3)
 1.1.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.4.1 27-Dec-2019  martin file apfs.c was added on branch phil-wifi on 2020-04-08 14:09:20 +0000
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.6 17-Sep-2021  christos remove lint hacks now that lint supports _Static_assert
 1.5 17-Sep-2021  christos XXX: Teach lint about _Static_assert...
 1.4 24-Jan-2021  tkusumi fstyp: Fix exfat detection

taken-from FreeBSD ddf61156132b610915325769cbb93ea11be0d433
 1.3 08-Feb-2020  fox branches: 1.3.4;
usr.sbin/fstyp: Fix -Werror=conversion error.

Type cast the size_t to uint32_t to prevent implicit type conversion errors.

Error was reported when build.sh was run with MKLIBCSANITIZER=yes flag.

Reviewed by: kamil@
 1.2 28-Dec-2019  tkusumi fstyp: Show exFAT volume labels with -l flag

taken-from: FreeBSD (freebsd/freebsd@73773fcda9f69ce7ee0c73292f273bab940223bf)
 1.1 18-Nov-2019  tkusumi fstyp: Add exFAT support

Taken-from: FreeBSD and DragonFlyBSD
 1.3.4.2 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.3.4.1 08-Feb-2020  martin file exfat.c was added on branch phil-wifi on 2020-04-13 08:05:52 +0000
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.6 01-Jan-2020  wiz Try fixing a sentence.
 1.5 01-Jan-2020  tkusumi fstyp: Add HAMMER1/2 support

FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
 1.4 21-Nov-2019  tkusumi autofs: Change my email address in man pages to netbsd.org
 1.3 18-Nov-2019  tkusumi fstyp: Add exFAT support

Taken-from: FreeBSD and DragonFlyBSD
 1.2 09-Jan-2018  wiz branches: 1.2.4;
File system police. Add RCS Id. Improve SYNOPSIS. Use more markup.
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.2.4.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.13 03-Jan-2020  mlelstv Recognize wedges and device mapper volumes as "disk".
 1.12 02-Jan-2020  tkusumi fstyp: Fix "exfat: iconv_open UCS-2LE: Invalid argument" failure

Fix below error for the time being.
The removed code is only relevant to Capsicum.

$ fstyp -l /dev/wd1
fstyp: exfat: iconv_open UCS-2LE: Invalid argument
 1.11 01-Jan-2020  tkusumi fstyp: Consider '@' syntax in device file path for HAMMER2

though devpath is unsupported in NetBSD atm.
taken-from: DragonFlyBSD
 1.10 01-Jan-2020  tkusumi fstyp: Add HAMMER1 multi-volume support (missed in "fstyp: Add HAMMER1/2 support")

taken-from: DragonFlyBSD
 1.9 01-Jan-2020  tkusumi fstyp: Cleanup and minor sync up with FreeBSD/DragonFlyBSD
 1.8 01-Jan-2020  tkusumi fstyp: Add HAMMER1/2 support

FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
 1.7 28-Dec-2019  tkusumi fstyp: Use iconv(3) to convert NTFS vol labels correctly

taken-from: FreeBSD (freebsd/freebsd@23a4b310ffa90719eb9d11506bde1befab3c695f)
 1.6 28-Dec-2019  tkusumi fstyp: Show exFAT volume labels with -l flag

taken-from: FreeBSD (freebsd/freebsd@73773fcda9f69ce7ee0c73292f273bab940223bf)
 1.5 27-Dec-2019  tkusumi fstyp: Add APFS support

taken-from: FreeBSD (freebsd/freebsd@171bb54729d6d6554eb09c9a3507b184795f33e3)
 1.4 27-Dec-2019  tkusumi fstyp: Add HFS+ support

taken-from: FreeBSD (freebsd/freebsd@b4d7ad9f787e74e712423def67de8bd76f71943a)
 1.3 18-Nov-2019  tkusumi fstyp: Add exFAT support

Taken-from: FreeBSD and DragonFlyBSD
 1.2 09-Jan-2018  martin branches: 1.2.4;
Use fseeko instead of fseek to fix the build on some 32bit architectures
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.2.4.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.9 10-Jan-2021  tkusumi fstyp: Sync HAMMER1/2 with DragonFly BSD

taken-from: DragonFly BSD
 1.8 01-Jan-2020  tkusumi fstyp: Cleanup and minor sync up with FreeBSD/DragonFlyBSD
 1.7 01-Jan-2020  tkusumi fstyp: Add HAMMER1/2 support

FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
 1.6 28-Dec-2019  tkusumi fstyp: Use iconv(3) to convert NTFS vol labels correctly

taken-from: FreeBSD (freebsd/freebsd@23a4b310ffa90719eb9d11506bde1befab3c695f)
 1.5 28-Dec-2019  tkusumi fstyp: Show exFAT volume labels with -l flag

taken-from: FreeBSD (freebsd/freebsd@73773fcda9f69ce7ee0c73292f273bab940223bf)
 1.4 27-Dec-2019  tkusumi fstyp: Add APFS support

taken-from: FreeBSD (freebsd/freebsd@171bb54729d6d6554eb09c9a3507b184795f33e3)
 1.3 27-Dec-2019  tkusumi fstyp: Add HFS+ support

taken-from: FreeBSD (freebsd/freebsd@b4d7ad9f787e74e712423def67de8bd76f71943a)
 1.2 18-Nov-2019  tkusumi fstyp: Add exFAT support

Taken-from: FreeBSD and DragonFlyBSD
 1.1 09-Jan-2018  christos branches: 1.1.4;
Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.1.4.1 13-Apr-2020  martin Mostly merge changes from HEAD upto 20200411
 1.4 10-Jan-2021  tkusumi fstyp: Sync HAMMER1/2 with DragonFly BSD

taken-from: DragonFly BSD
 1.3 15-Jan-2020  tkusumi branches: 1.3.4;
fstyp: Use strlcpy(3) for HAMMER1

https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD
 1.2 03-Jan-2020  tkusumi fstyp: Cleanup hammer.c (sync with recent DragonFly commit)

taken-from DragonFlyBSD 8ca6d8ec5f97032765692d368db80159c97adea0
 1.1 01-Jan-2020  tkusumi fstyp: Add HAMMER1/2 support

FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
 1.3.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.3.4.1 15-Jan-2020  martin file hammer.c was added on branch phil-wifi on 2020-04-08 14:09:20 +0000
 1.9 02-Dec-2021  christos PR/56530: RVP: use ioctl to get the partition size if possible (avoids SEGV)
 1.8 10-Jan-2021  martin Explicitly cast offset calculation, size_t may be smaller than off_t.
 1.7 10-Jan-2021  tkusumi fstyp: Sync HAMMER1/2 with DragonFly BSD

taken-from: DragonFly BSD
 1.6 23-Sep-2020  tkusumi fstyp: Sync hammer2_disk.h with DragonFly BSD

taken-from: DragonFly BSD
 1.5 14-Aug-2020  tkusumi fstyp: Fix incorrect pfs_type test for HAMMER2 inode

taken-from: DragonFly BSD
 1.4 15-Jan-2020  tkusumi branches: 1.4.4;
fstyp: Remove redundant best_i check in HAMMER2

https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD
 1.3 04-Jan-2020  tkusumi fstyp: Cleanup hammer2.c (sync with recent DragonFly commit)

taken-from DragonFlyBSD 841ef9e93aea61adab688e9476604e7a03291ef0
 1.2 01-Jan-2020  tkusumi fstyp: Fix build failure on i386

http://releng.netbsd.org/b5reports/i386/commits-2020.01.html#2020.01.01.10.13.16
Explicitly cast to size_t.
 1.1 01-Jan-2020  tkusumi fstyp: Add HAMMER1/2 support

FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
 1.4.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.4.4.1 15-Jan-2020  martin file hammer2.c was added on branch phil-wifi on 2020-04-08 14:09:20 +0000
 1.4 04-Apr-2022  andvar fix various typos, mainly in comments.
 1.3 10-Jan-2021  tkusumi fstyp: Sync HAMMER1/2 with DragonFly BSD

taken-from: DragonFly BSD
 1.2 23-Sep-2020  tkusumi fstyp: Sync hammer2_disk.h with DragonFly BSD

taken-from: DragonFly BSD
 1.1 01-Jan-2020  tkusumi branches: 1.1.4;
fstyp: Add HAMMER1/2 support

FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
 1.1.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.4.1 01-Jan-2020  martin file hammer2_disk.h was added on branch phil-wifi on 2020-04-08 14:09:20 +0000
 1.6 05-Feb-2024  andvar s/dependancies/dependencies/ and s/independantly/independently/ in comments and
distrib notes.
 1.5 27-May-2023  andvar fix word endings toin -> tion in comments.
 1.4 31-Jan-2023  andvar fix few typos in comments.
 1.3 05-Dec-2021  msaitoh s/rather then/rather than/ in comment.
 1.2 05-Dec-2021  msaitoh s/filesytem/filesystem/ in comment.
 1.1 01-Jan-2020  tkusumi branches: 1.1.4;
fstyp: Add HAMMER1/2 support

FreeBSD has recently imported HAMMER1/2 support from DragonFlyBSD,
so why not in NetBSD as well.

taken-from: DragonFlyBSD
 1.1.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.4.1 01-Jan-2020  martin file hammer_disk.h was added on branch phil-wifi on 2020-04-08 14:09:20 +0000
 1.3 17-Sep-2021  christos remove lint hacks now that lint supports _Static_assert
 1.2 17-Sep-2021  christos XXX: Teach lint about _Static_assert...
 1.1 27-Dec-2019  tkusumi branches: 1.1.4;
fstyp: Add HFS+ support

taken-from: FreeBSD (freebsd/freebsd@b4d7ad9f787e74e712423def67de8bd76f71943a)
 1.1.4.2 08-Apr-2020  martin Merge changes from current as of 20200406
 1.1.4.1 27-Dec-2019  martin file hfsplus.c was added on branch phil-wifi on 2020-04-08 14:09:20 +0000
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.3 02-Dec-2021  christos PR/56530: RVP: fix iconv open error.
 1.2 28-Dec-2019  tkusumi fstyp: Use iconv(3) to convert NTFS vol labels correctly

taken-from: FreeBSD (freebsd/freebsd@23a4b310ffa90719eb9d11506bde1befab3c695f)
 1.1 09-Jan-2018  christos branches: 1.1.4;
Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.1.4.1 08-Apr-2020  martin Merge changes from current as of 20200406
 1.2 17-Nov-2022  chs Restore backward compatibility of UFS2 with previous NetBSD releases by
disabling support in UFS2 for extended attributes (including ACLs).
Add a new variant of UFS2 called "UFS2ea" that does support extended attributes.
Add new fsck_ffs operations "-c ea" and "-c no-ea" to convert file systems
from UFS2 to UFS2ea and vice-versa (both of which delete all existing extended
attributes in the process).
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet
 1.1 09-Jan-2018  christos Merge autofs support from: Tomohiro Kusumi
XXX: Does not work yet

RSS XML Feed