git: 836ac989933b - main - fstyp: Add SPDX-License-Identifier tags

From: Ed Maste <emaste_at_FreeBSD.org>
Date: Fri, 20 Feb 2026 14:06:47 UTC
The branch main has been updated by emaste:

URL: https://cgit.FreeBSD.org/src/commit/?id=836ac989933bcd5b662979bfdec429a201c123a6

commit 836ac989933bcd5b662979bfdec429a201c123a6
Author:     Tuukka Pasanen <tuukka.pasanen@ilmi.fi>
AuthorDate: 2026-02-16 09:22:39 +0000
Commit:     Ed Maste <emaste@FreeBSD.org>
CommitDate: 2026-02-20 14:04:34 +0000

    fstyp: Add SPDX-License-Identifier tags
    
    Reviewed by: emaste
    Sponsored by: The FreeBSD Foundation
---
 usr.sbin/fstyp/apfs.c         | 2 ++
 usr.sbin/fstyp/cd9660.c       | 2 ++
 usr.sbin/fstyp/exfat.c        | 2 ++
 usr.sbin/fstyp/ext2fs.c       | 2 ++
 usr.sbin/fstyp/fstyp.c        | 2 ++
 usr.sbin/fstyp/fstyp.h        | 2 ++
 usr.sbin/fstyp/geli.c         | 2 ++
 usr.sbin/fstyp/hammer.c       | 2 ++
 usr.sbin/fstyp/hammer2.c      | 2 ++
 usr.sbin/fstyp/hammer2_disk.h | 2 ++
 usr.sbin/fstyp/hammer_disk.h  | 2 ++
 usr.sbin/fstyp/hfsplus.c      | 2 ++
 usr.sbin/fstyp/msdosfs.c      | 2 ++
 usr.sbin/fstyp/msdosfs.h      | 2 ++
 usr.sbin/fstyp/ntfs.c         | 2 ++
 usr.sbin/fstyp/ufs.c          | 2 ++
 usr.sbin/fstyp/zfs.c          | 2 ++
 17 files changed, 34 insertions(+)

diff --git a/usr.sbin/fstyp/apfs.c b/usr.sbin/fstyp/apfs.c
index aeb459a1c3af..809e6fab6914 100644
--- a/usr.sbin/fstyp/apfs.c
+++ b/usr.sbin/fstyp/apfs.c
@@ -1,4 +1,6 @@
 /*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2019 Conrad Meyer <cem@FreeBSD.org>.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/usr.sbin/fstyp/cd9660.c b/usr.sbin/fstyp/cd9660.c
index e981a5978dd4..73a18b16edea 100644
--- a/usr.sbin/fstyp/cd9660.c
+++ b/usr.sbin/fstyp/cd9660.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
  * Copyright (c) 2014 The FreeBSD Foundation
  * All rights reserved.
diff --git a/usr.sbin/fstyp/exfat.c b/usr.sbin/fstyp/exfat.c
index 8f8393b861fb..bb3d0eabed75 100644
--- a/usr.sbin/fstyp/exfat.c
+++ b/usr.sbin/fstyp/exfat.c
@@ -1,4 +1,6 @@
 /*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2017 Conrad Meyer <cem@FreeBSD.org>
  * All rights reserved.
  *
diff --git a/usr.sbin/fstyp/ext2fs.c b/usr.sbin/fstyp/ext2fs.c
index d7110f6896ce..90af4f986ee4 100644
--- a/usr.sbin/fstyp/ext2fs.c
+++ b/usr.sbin/fstyp/ext2fs.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2005 Stanislav Sedov
  * Copyright (c) 2014 The FreeBSD Foundation
  * All rights reserved.
diff --git a/usr.sbin/fstyp/fstyp.c b/usr.sbin/fstyp/fstyp.c
index dd06df33bbe2..853fdd839713 100644
--- a/usr.sbin/fstyp/fstyp.c
+++ b/usr.sbin/fstyp/fstyp.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2014 The FreeBSD Foundation
  *
  * This software was developed by Edward Tomasz Napierala under sponsorship
diff --git a/usr.sbin/fstyp/fstyp.h b/usr.sbin/fstyp/fstyp.h
index d87cac456379..322f117dd29f 100644
--- a/usr.sbin/fstyp/fstyp.h
+++ b/usr.sbin/fstyp/fstyp.h
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2014 The FreeBSD Foundation
  *
  * This software was developed by Edward Tomasz Napierala under sponsorship
diff --git a/usr.sbin/fstyp/geli.c b/usr.sbin/fstyp/geli.c
index 17d1faf8407f..aa4c1bc2c955 100644
--- a/usr.sbin/fstyp/geli.c
+++ b/usr.sbin/fstyp/geli.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2015 Allan Jude <allanjude@FreeBSD.org>
  * All rights reserved.
  *
diff --git a/usr.sbin/fstyp/hammer.c b/usr.sbin/fstyp/hammer.c
index 45aee42fb53a..2785e42c9998 100644
--- a/usr.sbin/fstyp/hammer.c
+++ b/usr.sbin/fstyp/hammer.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2016-2019 The DragonFly Project
  * Copyright (c) 2016-2019 Tomohiro Kusumi <tkusumi@netbsd.org>
  * All rights reserved.
diff --git a/usr.sbin/fstyp/hammer2.c b/usr.sbin/fstyp/hammer2.c
index aeb29762fb6b..dfc4ef842cf1 100644
--- a/usr.sbin/fstyp/hammer2.c
+++ b/usr.sbin/fstyp/hammer2.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2017-2019 The DragonFly Project
  * Copyright (c) 2017-2019 Tomohiro Kusumi <tkusumi@netbsd.org>
  * All rights reserved.
diff --git a/usr.sbin/fstyp/hammer2_disk.h b/usr.sbin/fstyp/hammer2_disk.h
index 6efefe9a2495..5de82e205ffc 100644
--- a/usr.sbin/fstyp/hammer2_disk.h
+++ b/usr.sbin/fstyp/hammer2_disk.h
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
  * Copyright (c) 2011-2018 The DragonFly Project.  All rights reserved.
  *
  * This code is derived from software contributed to The DragonFly Project
diff --git a/usr.sbin/fstyp/hammer_disk.h b/usr.sbin/fstyp/hammer_disk.h
index 4b5182d7e868..87ecfab0cf09 100644
--- a/usr.sbin/fstyp/hammer_disk.h
+++ b/usr.sbin/fstyp/hammer_disk.h
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-3-Clause
+ *
  * Copyright (c) 2007 The DragonFly Project.  All rights reserved.
  *
  * This code is derived from software contributed to The DragonFly Project
diff --git a/usr.sbin/fstyp/hfsplus.c b/usr.sbin/fstyp/hfsplus.c
index bdeaaa3b397c..580f8974fec1 100644
--- a/usr.sbin/fstyp/hfsplus.c
+++ b/usr.sbin/fstyp/hfsplus.c
@@ -1,4 +1,6 @@
 /*
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2019 Conrad Meyer <cem@FreeBSD.org>.  All rights reserved.
  *
  * Redistribution and use in source and binary forms, with or without
diff --git a/usr.sbin/fstyp/msdosfs.c b/usr.sbin/fstyp/msdosfs.c
index cd0a67243a15..16db364ed430 100644
--- a/usr.sbin/fstyp/msdosfs.c
+++ b/usr.sbin/fstyp/msdosfs.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2004 Pawel Jakub Dawidek <pjd@FreeBSD.org>
  * Copyright (c) 2006 Tobias Reifenberger
  * Copyright (c) 2014 The FreeBSD Foundation
diff --git a/usr.sbin/fstyp/msdosfs.h b/usr.sbin/fstyp/msdosfs.h
index 91fe5967cd03..8c83c9862f84 100644
--- a/usr.sbin/fstyp/msdosfs.h
+++ b/usr.sbin/fstyp/msdosfs.h
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2006 Tobias Reifenberger
  * All rights reserved.
  *
diff --git a/usr.sbin/fstyp/ntfs.c b/usr.sbin/fstyp/ntfs.c
index be8095d5ee27..28a635097315 100644
--- a/usr.sbin/fstyp/ntfs.c
+++ b/usr.sbin/fstyp/ntfs.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2005 Takanori Watanabe
  * Copyright (c) 2014 The FreeBSD Foundation
  * All rights reserved.
diff --git a/usr.sbin/fstyp/ufs.c b/usr.sbin/fstyp/ufs.c
index 5133febbf065..4e676faae493 100644
--- a/usr.sbin/fstyp/ufs.c
+++ b/usr.sbin/fstyp/ufs.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2002, 2003 Gordon Tetlow
  * Copyright (c) 2006 Pawel Jakub Dawidek <pjd@FreeBSD.org>
  * Copyright (c) 2014 The FreeBSD Foundation
diff --git a/usr.sbin/fstyp/zfs.c b/usr.sbin/fstyp/zfs.c
index 6fde88c79524..0e54c8260c96 100644
--- a/usr.sbin/fstyp/zfs.c
+++ b/usr.sbin/fstyp/zfs.c
@@ -1,4 +1,6 @@
 /*-
+ * SPDX-License-Identifier: BSD-2-Clause
+ *
  * Copyright (c) 2015 Allan Jude <allanjude@FreeBSD.org>
  * Copyright (c) 2015 Xin LI <delphij@FreeBSD.org>
  *