CVS commit: src/usr.sbin/fstyp

2021-02-02 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Tue Feb  2 21:31:11 UTC 2021

Modified Files:
src/usr.sbin/fstyp: Makefile

Log Message:
Ignore address of packed-member for clang too


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/fstyp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2021-01-24 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sun Jan 24 14:37:32 UTC 2021

Modified Files:
src/usr.sbin/fstyp: exfat.c

Log Message:
fstyp: Fix exfat detection

taken-from FreeBSD ddf61156132b610915325769cbb93ea11be0d433


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/fstyp/exfat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2021-01-10 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jan 10 13:44:57 UTC 2021

Modified Files:
src/usr.sbin/fstyp: hammer2.c

Log Message:
Explicitly cast offset calculation, size_t may be smaller than off_t.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/fstyp/hammer2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2021-01-10 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sun Jan 10 12:38:41 UTC 2021

Modified Files:
src/usr.sbin/fstyp: fstyp.h hammer.c hammer2.c hammer2_disk.h

Log Message:
fstyp: Sync HAMMER1/2 with DragonFly BSD

taken-from: DragonFly BSD


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/fstyp/fstyp.h
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/fstyp/hammer.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/fstyp/hammer2.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/fstyp/hammer2_disk.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-09-23 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Sep 23 14:39:23 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer2.c hammer2_disk.h

Log Message:
fstyp: Sync hammer2_disk.h with DragonFly BSD

taken-from: DragonFly BSD


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/fstyp/hammer2.c
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/hammer2_disk.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-08-14 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Fri Aug 14 18:35:57 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer2.c

Log Message:
fstyp: Fix incorrect pfs_type test for HAMMER2 inode

taken-from: DragonFly BSD


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/fstyp/hammer2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-02-08 Thread Santhosh Raju
Module Name:src
Committed By:   fox
Date:   Sat Feb  8 12:56:56 UTC 2020

Modified Files:
src/usr.sbin/fstyp: exfat.c

Log Message:
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@


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/fstyp/exfat.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-15 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan 15 15:32:05 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer2.c

Log Message:
fstyp: Remove redundant best_i check in HAMMER2

https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/fstyp/hammer2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-15 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan 15 15:30:46 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer.c

Log Message:
fstyp: Use strlcpy(3) for HAMMER1

https://reviews.freebsd.org/D23159
taken-from: DragonFlyBSD originally from FreeBSD


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/fstyp/hammer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-03 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sat Jan  4 03:43:18 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer2.c

Log Message:
fstyp: Cleanup hammer2.c (sync with recent DragonFly commit)

taken-from DragonFlyBSD 841ef9e93aea61adab688e9476604e7a03291ef0


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/fstyp/hammer2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-03 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Fri Jan  3 08:19:14 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer.c

Log Message:
fstyp: Cleanup hammer.c (sync with recent DragonFly commit)

taken-from DragonFlyBSD 8ca6d8ec5f97032765692d368db80159c97adea0


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/hammer.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-02 Thread Michael van Elst
Module Name:src
Committed By:   mlelstv
Date:   Fri Jan  3 07:50:58 UTC 2020

Modified Files:
src/usr.sbin/fstyp: fstyp.c

Log Message:
Recognize wedges and device mapper volumes as "disk".


To generate a diff of this commit:
cvs rdiff -u -r1.12 -r1.13 src/usr.sbin/fstyp/fstyp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-02 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Thu Jan  2 08:52:42 UTC 2020

Modified Files:
src/usr.sbin/fstyp: fstyp.c

Log Message:
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


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 src/usr.sbin/fstyp/fstyp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-01 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Wed Jan  1 20:11:44 UTC 2020

Modified Files:
src/usr.sbin/fstyp: fstyp.8

Log Message:
Try fixing a sentence.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/fstyp/fstyp.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-01 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan  1 12:47:19 UTC 2020

Modified Files:
src/usr.sbin/fstyp: fstyp.c

Log Message:
fstyp: Consider '@' syntax in device file path for HAMMER2

though devpath is unsupported in NetBSD atm.
taken-from: DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 src/usr.sbin/fstyp/fstyp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-01 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan  1 11:46:43 UTC 2020

Modified Files:
src/usr.sbin/fstyp: hammer2.c

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/hammer2.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-01 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan  1 09:17:27 UTC 2020

Modified Files:
src/usr.sbin/fstyp: fstyp.c

Log Message:
fstyp: Add HAMMER1 multi-volume support (missed in "fstyp: Add HAMMER1/2 
support")

taken-from: DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/usr.sbin/fstyp/fstyp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-01 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan  1 09:08:52 UTC 2020

Modified Files:
src/usr.sbin/fstyp: fstyp.c fstyp.h

Log Message:
fstyp: Cleanup and minor sync up with FreeBSD/DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/fstyp/fstyp.c
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/fstyp/fstyp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2020-01-01 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Wed Jan  1 08:56:41 UTC 2020

Modified Files:
src/usr.sbin/fstyp: Makefile fstyp.8 fstyp.c fstyp.h
Added Files:
src/usr.sbin/fstyp: hammer.c hammer2.c hammer2_disk.h hammer_disk.h

Log Message:
fstyp: Add HAMMER1/2 support

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

taken-from: DragonFlyBSD


To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 src/usr.sbin/fstyp/Makefile
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/fstyp/fstyp.8
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/fstyp/fstyp.c
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/fstyp/fstyp.h
cvs rdiff -u -r0 -r1.1 src/usr.sbin/fstyp/hammer.c \
src/usr.sbin/fstyp/hammer2.c src/usr.sbin/fstyp/hammer2_disk.h \
src/usr.sbin/fstyp/hammer_disk.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2019-12-28 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sat Dec 28 08:22:30 UTC 2019

Modified Files:
src/usr.sbin/fstyp: fstyp.c fstyp.h ntfs.c

Log Message:
fstyp: Use iconv(3) to convert NTFS vol labels correctly

taken-from: FreeBSD (freebsd/freebsd@23a4b310ffa90719eb9d11506bde1befab3c695f)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/fstyp/fstyp.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/fstyp/fstyp.h
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/ntfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2019-12-28 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Sat Dec 28 08:00:08 UTC 2019

Modified Files:
src/usr.sbin/fstyp: exfat.c fstyp.c fstyp.h

Log Message:
fstyp: Show exFAT volume labels with -l flag

taken-from: FreeBSD (freebsd/freebsd@73773fcda9f69ce7ee0c73292f273bab940223bf)


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/exfat.c
cvs rdiff -u -r1.5 -r1.6 src/usr.sbin/fstyp/fstyp.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/fstyp/fstyp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2019-12-27 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Fri Dec 27 11:15:06 UTC 2019

Modified Files:
src/usr.sbin/fstyp: Makefile fstyp.c fstyp.h
Added Files:
src/usr.sbin/fstyp: apfs.c

Log Message:
fstyp: Add APFS support

taken-from: FreeBSD (freebsd/freebsd@171bb54729d6d6554eb09c9a3507b184795f33e3)


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/usr.sbin/fstyp/Makefile
cvs rdiff -u -r0 -r1.1 src/usr.sbin/fstyp/apfs.c
cvs rdiff -u -r1.4 -r1.5 src/usr.sbin/fstyp/fstyp.c
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/fstyp/fstyp.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2019-12-27 Thread Tomohiro Kusumi
Module Name:src
Committed By:   tkusumi
Date:   Fri Dec 27 11:06:23 UTC 2019

Modified Files:
src/usr.sbin/fstyp: Makefile fstyp.c fstyp.h
Added Files:
src/usr.sbin/fstyp: hfsplus.c

Log Message:
fstyp: Add HFS+ support

taken-from: FreeBSD (freebsd/freebsd@b4d7ad9f787e74e712423def67de8bd76f71943a)


To generate a diff of this commit:
cvs rdiff -u -r1.6 -r1.7 src/usr.sbin/fstyp/Makefile
cvs rdiff -u -r1.3 -r1.4 src/usr.sbin/fstyp/fstyp.c
cvs rdiff -u -r1.2 -r1.3 src/usr.sbin/fstyp/fstyp.h
cvs rdiff -u -r0 -r1.1 src/usr.sbin/fstyp/hfsplus.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2018-01-21 Thread Joerg Sonnenberger
Module Name:src
Committed By:   joerg
Date:   Mon Jan 22 01:34:42 UTC 2018

Modified Files:
src/usr.sbin/fstyp: Makefile

Log Message:
Ignore pragma warnings with clang for the zfs code.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2018-01-09 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Tue Jan  9 10:47:57 UTC 2018

Modified Files:
src/usr.sbin/fstyp: fstyp.c

Log Message:
Use fseeko instead of fseek to fix the build on some 32bit architectures


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/fstyp.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: src/usr.sbin/fstyp

2018-01-09 Thread Thomas Klausner
Module Name:src
Committed By:   wiz
Date:   Tue Jan  9 09:41:29 UTC 2018

Modified Files:
src/usr.sbin/fstyp: fstyp.8

Log Message:
File system police. Add RCS Id. Improve SYNOPSIS. Use more markup.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 src/usr.sbin/fstyp/fstyp.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.