From 8534265421f69254e168063fc79226ad3e171c65 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrius=20=C5=A0tikonas?= Date: Mon, 28 Sep 2020 00:45:21 +0100 Subject: [PATCH] REUSE: SPDX headers for src/fs/*. --- src/fs/apfs.cpp | 23 +++++++---------------- src/fs/apfs.h | 23 +++++++---------------- src/fs/bitlocker.cpp | 23 +++++++---------------- src/fs/bitlocker.h | 23 +++++++---------------- src/fs/btrfs.cpp | 26 +++++++++----------------- src/fs/btrfs.h | 27 +++++++++------------------ src/fs/exfat.cpp | 25 ++++++++----------------- src/fs/exfat.h | 25 ++++++++----------------- src/fs/ext2.cpp | 25 ++++++++----------------- src/fs/ext2.h | 27 ++++++++++----------------- src/fs/ext3.cpp | 24 ++++++++---------------- src/fs/ext3.h | 26 +++++++++----------------- src/fs/ext4.cpp | 24 ++++++++---------------- src/fs/ext4.h | 26 +++++++++----------------- src/fs/extended.cpp | 24 ++++++++---------------- src/fs/extended.h | 26 +++++++++----------------- src/fs/f2fs.cpp | 23 +++++++---------------- src/fs/f2fs.h | 23 +++++++---------------- src/fs/fat12.cpp | 27 ++++++++++----------------- src/fs/fat12.h | 26 +++++++++----------------- src/fs/fat16.cpp | 26 +++++++++----------------- src/fs/fat16.h | 28 +++++++++++----------------- src/fs/fat32.cpp | 25 +++++++++---------------- src/fs/fat32.h | 28 +++++++++++----------------- src/fs/filesystem.cpp | 31 +++++++++++++------------------ src/fs/filesystem.h | 34 +++++++++++++++------------------- src/fs/filesystem_p.h | 21 +++++---------------- src/fs/filesystemfactory.cpp | 28 +++++++++++----------------- src/fs/filesystemfactory.h | 25 +++++++++---------------- src/fs/hfs.cpp | 26 +++++++++----------------- src/fs/hfs.h | 26 +++++++++----------------- src/fs/hfsplus.cpp | 26 +++++++++----------------- src/fs/hfsplus.h | 27 ++++++++++----------------- src/fs/hpfs.cpp | 24 ++++++++---------------- src/fs/hpfs.h | 26 +++++++++----------------- src/fs/iso9660.cpp | 23 +++++++---------------- src/fs/iso9660.h | 24 +++++++----------------- src/fs/jfs.cpp | 24 ++++++++---------------- src/fs/jfs.h | 26 +++++++++----------------- src/fs/linuxraidmember.cpp | 21 +++++---------------- src/fs/linuxraidmember.h | 23 +++++++---------------- src/fs/linuxswap.cpp | 28 +++++++++++----------------- src/fs/linuxswap.h | 29 ++++++++++++----------------- src/fs/luks.cpp | 30 ++++++++++++------------------ src/fs/luks.h | 29 +++++++++++------------------ src/fs/luks2.cpp | 23 +++++++---------------- src/fs/luks2.h | 24 +++++++----------------- src/fs/lvm2_pv.cpp | 28 +++++++++++----------------- src/fs/lvm2_pv.h | 28 ++++++++++------------------ src/fs/minix.cpp | 23 +++++++---------------- src/fs/minix.h | 23 +++++++---------------- src/fs/nilfs2.cpp | 25 ++++++++----------------- src/fs/nilfs2.h | 26 ++++++++------------------ src/fs/ntfs.cpp | 26 +++++++++----------------- src/fs/ntfs.h | 26 +++++++++----------------- src/fs/ocfs2.cpp | 27 ++++++++++----------------- src/fs/ocfs2.h | 26 +++++++++----------------- src/fs/reiser4.cpp | 26 +++++++++----------------- src/fs/reiser4.h | 27 ++++++++++----------------- src/fs/reiserfs.cpp | 26 +++++++++----------------- src/fs/reiserfs.h | 27 ++++++++++----------------- src/fs/udf.cpp | 24 ++++++++---------------- src/fs/udf.h | 25 ++++++++----------------- src/fs/ufs.cpp | 24 ++++++++---------------- src/fs/ufs.h | 26 +++++++++----------------- src/fs/unformatted.cpp | 24 ++++++++---------------- src/fs/unformatted.h | 26 +++++++++----------------- src/fs/unknown.cpp | 24 ++++++++---------------- src/fs/unknown.h | 25 +++++++++---------------- src/fs/xfs.cpp | 26 +++++++++----------------- src/fs/xfs.h | 26 +++++++++----------------- src/fs/zfs.cpp | 26 +++++++++----------------- src/fs/zfs.h | 28 ++++++++++------------------ 73 files changed, 644 insertions(+), 1225 deletions(-) diff --git a/src/fs/apfs.cpp b/src/fs/apfs.cpp index 52f126a..29edc00 100644 --- a/src/fs/apfs.cpp +++ b/src/fs/apfs.cpp @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2019 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/apfs.h" diff --git a/src/fs/apfs.h b/src/fs/apfs.h index 3d080b5..c984928 100644 --- a/src/fs/apfs.h +++ b/src/fs/apfs.h @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2019 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_APFS_H #define KPMCORE_APFS_H diff --git a/src/fs/bitlocker.cpp b/src/fs/bitlocker.cpp index 8f131b4..584bcd4 100644 --- a/src/fs/bitlocker.cpp +++ b/src/fs/bitlocker.cpp @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2019 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/bitlocker.h" diff --git a/src/fs/bitlocker.h b/src/fs/bitlocker.h index e602d79..9e85758 100644 --- a/src/fs/bitlocker.h +++ b/src/fs/bitlocker.h @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2019 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_BITLOCKER_H #define KPMCORE_BITLOCKER_H diff --git a/src/fs/btrfs.cpp b/src/fs/btrfs.cpp index f27ad2b..b505feb 100644 --- a/src/fs/btrfs.cpp +++ b/src/fs/btrfs.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2012,2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/btrfs.h" diff --git a/src/fs/btrfs.h b/src/fs/btrfs.h index 9277cb4..8f69eaa 100644 --- a/src/fs/btrfs.h +++ b/src/fs/btrfs.h @@ -1,23 +1,14 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_BTRFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_BTRFS_H #define KPMCORE_BTRFS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/exfat.cpp b/src/fs/exfat.cpp index 7c7c962..f5b381a 100644 --- a/src/fs/exfat.cpp +++ b/src/fs/exfat.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/exfat.h" diff --git a/src/fs/exfat.h b/src/fs/exfat.h index 43b5de9..0960424 100644 --- a/src/fs/exfat.h +++ b/src/fs/exfat.h @@ -1,22 +1,13 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2012-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_EXFAT_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_EXFAT_H #define KPMCORE_EXFAT_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/ext2.cpp b/src/fs/ext2.cpp index 688e135..cdb68e8 100644 --- a/src/fs/ext2.cpp +++ b/src/fs/ext2.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/ext2.h" diff --git a/src/fs/ext2.h b/src/fs/ext2.h index 32b0eac..07c6abf 100644 --- a/src/fs/ext2.h +++ b/src/fs/ext2.h @@ -1,22 +1,15 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008-2010 Laurent Montel + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_EXT2_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_EXT2_H #define KPMCORE_EXT2_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/ext3.cpp b/src/fs/ext3.cpp index af81047..ece8450 100644 --- a/src/fs/ext3.cpp +++ b/src/fs/ext3.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/ext3.h" diff --git a/src/fs/ext3.h b/src/fs/ext3.h index c21da82..af4b1d3 100644 --- a/src/fs/ext3.h +++ b/src/fs/ext3.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_EXT3_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_EXT3_H #define KPMCORE_EXT3_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/ext4.cpp b/src/fs/ext4.cpp index 3692eb5..9bab8e3 100644 --- a/src/fs/ext4.cpp +++ b/src/fs/ext4.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/ext4.h" diff --git a/src/fs/ext4.h b/src/fs/ext4.h index 64562da..821b6a7 100644 --- a/src/fs/ext4.h +++ b/src/fs/ext4.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_EXT4_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_EXT4_H #define KPMCORE_EXT4_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/extended.cpp b/src/fs/extended.cpp index bf1d859..a6a2051 100644 --- a/src/fs/extended.cpp +++ b/src/fs/extended.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/extended.h" diff --git a/src/fs/extended.h b/src/fs/extended.h index 73e1949..f105ecf 100644 --- a/src/fs/extended.h +++ b/src/fs/extended.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_EXTENDED_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_EXTENDED_H #define KPMCORE_EXTENDED_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/f2fs.cpp b/src/fs/f2fs.cpp index 8ef1242..a6a93e1 100644 --- a/src/fs/f2fs.cpp +++ b/src/fs/f2fs.cpp @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/f2fs.h" diff --git a/src/fs/f2fs.h b/src/fs/f2fs.h index f3c8a56..4e5edd6 100644 --- a/src/fs/f2fs.h +++ b/src/fs/f2fs.h @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_F2FS_H #define KPMCORE_F2FS_H diff --git a/src/fs/fat12.cpp b/src/fs/fat12.cpp index a098dbe..32a7e92 100644 --- a/src/fs/fat12.cpp +++ b/src/fs/fat12.cpp @@ -1,20 +1,13 @@ -/************************************************************************* - * Copyright (C) 2008,2009,2011 by Volker Lanz * - * Copyright (C) 2017 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2017 Pali Rohár + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/fat12.h" diff --git a/src/fs/fat12.h b/src/fs/fat12.h index 4c08aac..3cb58d8 100644 --- a/src/fs/fat12.h +++ b/src/fs/fat12.h @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * Copyright (C) 2017 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_FAT12_H #define KPMCORE_FAT12_H diff --git a/src/fs/fat16.cpp b/src/fs/fat16.cpp index fb0e6e3..e225178 100644 --- a/src/fs/fat16.cpp +++ b/src/fs/fat16.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008,2009,2011 by Volker Lanz * - * Copyright (C) 2016-2017 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2013-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/fat16.h" diff --git a/src/fs/fat16.h b/src/fs/fat16.h index edceb58..d56cec5 100644 --- a/src/fs/fat16.h +++ b/src/fs/fat16.h @@ -1,20 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * Copyright (C) 2017 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2013-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_FAT16_H #define KPMCORE_FAT16_H diff --git a/src/fs/fat32.cpp b/src/fs/fat32.cpp index 8e5b709..b801cd4 100644 --- a/src/fs/fat32.cpp +++ b/src/fs/fat32.cpp @@ -1,19 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/fat32.h" diff --git a/src/fs/fat32.h b/src/fs/fat32.h index 4bbdc93..94dff0d 100644 --- a/src/fs/fat32.h +++ b/src/fs/fat32.h @@ -1,22 +1,16 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2013-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_FAT32_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_FAT32_H #define KPMCORE_FAT32_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/filesystem.cpp b/src/fs/filesystem.cpp index 1e5b964..5a01f2c 100644 --- a/src/fs/filesystem.cpp +++ b/src/fs/filesystem.cpp @@ -1,21 +1,16 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2015 by Teo Mrnjavac * - * Copyright (C) 2016-2018 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2012-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2017 Pali Rohár + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/filesystem.h" #include "core/fstab.h" diff --git a/src/fs/filesystem.h b/src/fs/filesystem.h index 39bc46e..a38f0bf 100644 --- a/src/fs/filesystem.h +++ b/src/fs/filesystem.h @@ -1,26 +1,22 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2015 by Teo Mrnjavac * - * Copyright (C) 2016-2018 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2017 Pali Rohár + SPDX-FileCopyrightText: 2017 Adriaan de Groot + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2019 Shubham Jangra + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_FILESYSTEM_H #define KPMCORE_FILESYSTEM_H - #include "util/libpartitionmanagerexport.h" #include diff --git a/src/fs/filesystem_p.h b/src/fs/filesystem_p.h index ed410ba..d2b37e1 100644 --- a/src/fs/filesystem_p.h +++ b/src/fs/filesystem_p.h @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Andrius Štikonas + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_FILESYSTEM_P_H #define KPMCORE_FILESYSTEM_P_H diff --git a/src/fs/filesystemfactory.cpp b/src/fs/filesystemfactory.cpp index 0141eba..29978ee 100644 --- a/src/fs/filesystemfactory.cpp +++ b/src/fs/filesystemfactory.cpp @@ -1,20 +1,14 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2017 Pali Rohár + SPDX-FileCopyrightText: 2019 Shubham Jangra + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/filesystemfactory.h" #include "fs/filesystem.h" diff --git a/src/fs/filesystemfactory.h b/src/fs/filesystemfactory.h index 464c9a6..82f7801 100644 --- a/src/fs/filesystemfactory.h +++ b/src/fs/filesystemfactory.h @@ -1,19 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016-2020 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_FILESYSTEMFACTORY_H #define KPMCORE_FILESYSTEMFACTORY_H diff --git a/src/fs/hfs.cpp b/src/fs/hfs.cpp index 5facd82..d27fa19 100644 --- a/src/fs/hfs.cpp +++ b/src/fs/hfs.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008,2011 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/hfs.h" diff --git a/src/fs/hfs.h b/src/fs/hfs.h index 71e9813..680a042 100644 --- a/src/fs/hfs.h +++ b/src/fs/hfs.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2013-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_HFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_HFS_H #define KPMCORE_HFS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/hfsplus.cpp b/src/fs/hfsplus.cpp index aa32f95..627e401 100644 --- a/src/fs/hfsplus.cpp +++ b/src/fs/hfsplus.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008,2011 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2011 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/hfsplus.h" diff --git a/src/fs/hfsplus.h b/src/fs/hfsplus.h index 076810d..7df4a51 100644 --- a/src/fs/hfsplus.h +++ b/src/fs/hfsplus.h @@ -1,22 +1,15 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_HFSPLUS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_HFSPLUS_H #define KPMCORE_HFSPLUS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/hpfs.cpp b/src/fs/hpfs.cpp index 0674c3c..de024b3 100644 --- a/src/fs/hpfs.cpp +++ b/src/fs/hpfs.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2016-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/hpfs.h" diff --git a/src/fs/hpfs.h b/src/fs/hpfs.h index b1b4b55..e73e814 100644 --- a/src/fs/hpfs.h +++ b/src/fs/hpfs.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_HPFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_HPFS_H #define KPMCORE_HPFS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/iso9660.cpp b/src/fs/iso9660.cpp index 91e63e7..a82f59f 100644 --- a/src/fs/iso9660.cpp +++ b/src/fs/iso9660.cpp @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2017 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2017-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/iso9660.h" diff --git a/src/fs/iso9660.h b/src/fs/iso9660.h index 4190019..fc011c3 100644 --- a/src/fs/iso9660.h +++ b/src/fs/iso9660.h @@ -1,22 +1,12 @@ -/************************************************************************* - * Copyright (C) 2017 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_ISO9660_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_ISO9660_H #define KPMCORE_ISO9660_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/jfs.cpp b/src/fs/jfs.cpp index f488a1e..e6974d3 100644 --- a/src/fs/jfs.cpp +++ b/src/fs/jfs.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/jfs.h" diff --git a/src/fs/jfs.h b/src/fs/jfs.h index 54f1774..8c21e69 100644 --- a/src/fs/jfs.h +++ b/src/fs/jfs.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_JFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_JFS_H #define KPMCORE_JFS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/linuxraidmember.cpp b/src/fs/linuxraidmember.cpp index 482787e..242828a 100644 --- a/src/fs/linuxraidmember.cpp +++ b/src/fs/linuxraidmember.cpp @@ -1,19 +1,8 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/linuxraidmember.h" diff --git a/src/fs/linuxraidmember.h b/src/fs/linuxraidmember.h index 39a0896..7fdb395 100644 --- a/src/fs/linuxraidmember.h +++ b/src/fs/linuxraidmember.h @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2018 by Caio Carvalho * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef LINUXRAIDMEMBER_H #define LINUXRAIDMEMBER_H diff --git a/src/fs/linuxswap.cpp b/src/fs/linuxswap.cpp index 56606ba..553dc7e 100644 --- a/src/fs/linuxswap.cpp +++ b/src/fs/linuxswap.cpp @@ -1,20 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/linuxswap.h" diff --git a/src/fs/linuxswap.h b/src/fs/linuxswap.h index fbf9d88..c6aceeb 100644 --- a/src/fs/linuxswap.h +++ b/src/fs/linuxswap.h @@ -1,22 +1,17 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2012-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_LINUXSWAP_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_LINUXSWAP_H #define KPMCORE_LINUXSWAP_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/luks.cpp b/src/fs/luks.cpp index 7f71d85..5308fea 100644 --- a/src/fs/luks.cpp +++ b/src/fs/luks.cpp @@ -1,21 +1,15 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2013-2017 by Andrius Štikonas * - * Copyright (C) 2015-2016 by Teo Mrnjavac * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2017 Christian Morlok + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/luks.h" #include "fs/lvm2_pv.h" diff --git a/src/fs/luks.h b/src/fs/luks.h index 49f31ed..3b703a6 100644 --- a/src/fs/luks.h +++ b/src/fs/luks.h @@ -1,21 +1,14 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2013 by Andrius Štikonas * - * Copyright (C) 2015-2016 by Teo Mrnjavac * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2015-2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_LUKS_H #define KPMCORE_LUKS_H diff --git a/src/fs/luks2.cpp b/src/fs/luks2.cpp index 4cd9576..a5f9d00 100644 --- a/src/fs/luks2.cpp +++ b/src/fs/luks2.cpp @@ -1,19 +1,10 @@ -/************************************************************************* - * Copyright (C) 2017 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2017-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/luks2.h" diff --git a/src/fs/luks2.h b/src/fs/luks2.h index 826b523..fdf8b4c 100644 --- a/src/fs/luks2.h +++ b/src/fs/luks2.h @@ -1,22 +1,12 @@ -/************************************************************************* - * Copyright (C) 2017 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_LUKS2_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_LUKS2_H #define KPMCORE_LUKS2_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/lvm2_pv.cpp b/src/fs/lvm2_pv.cpp index 029c4a9..0a257ac 100644 --- a/src/fs/lvm2_pv.cpp +++ b/src/fs/lvm2_pv.cpp @@ -1,20 +1,14 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2016 Teo Mrnjavac + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/lvm2_pv.h" #include "core/device.h" diff --git a/src/fs/lvm2_pv.h b/src/fs/lvm2_pv.h index 21eb7cb..52350b3 100644 --- a/src/fs/lvm2_pv.h +++ b/src/fs/lvm2_pv.h @@ -1,23 +1,15 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2012-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016 Chantara Tith + SPDX-FileCopyrightText: 2018 Caio Carvalho + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_LVM2_PV_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_LVM2_PV_H #define KPMCORE_LVM2_PV_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/minix.cpp b/src/fs/minix.cpp index feadb67..6b7be82 100644 --- a/src/fs/minix.cpp +++ b/src/fs/minix.cpp @@ -1,19 +1,10 @@ - /************************************************************************* - * Copyright (C) 2019 by Shubham * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Shubham Jangra + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/minix.h" diff --git a/src/fs/minix.h b/src/fs/minix.h index 6b78fb2..d0621b2 100644 --- a/src/fs/minix.h +++ b/src/fs/minix.h @@ -1,19 +1,10 @@ - /************************************************************************* - * Copyright (C) 2019 by Shubham * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2019 Shubham Jangra + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_MINIX_H #define KPMCORE_MINIX_H diff --git a/src/fs/nilfs2.cpp b/src/fs/nilfs2.cpp index 47c9798..e0f0e61 100644 --- a/src/fs/nilfs2.cpp +++ b/src/fs/nilfs2.cpp @@ -1,20 +1,11 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/nilfs2.h" diff --git a/src/fs/nilfs2.h b/src/fs/nilfs2.h index bb6f407..e4ffee2 100644 --- a/src/fs/nilfs2.h +++ b/src/fs/nilfs2.h @@ -1,23 +1,13 @@ -/************************************************************************* - * Copyright (C) 2012 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2012-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_NILFS2_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_NILFS2_H #define KPMCORE_NILFS2_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/ntfs.cpp b/src/fs/ntfs.cpp index a954140..185fe05 100644 --- a/src/fs/ntfs.cpp +++ b/src/fs/ntfs.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/ntfs.h" diff --git a/src/fs/ntfs.h b/src/fs/ntfs.h index 1c02f35..2fafd8e 100644 --- a/src/fs/ntfs.h +++ b/src/fs/ntfs.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2013-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_NTFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_NTFS_H #define KPMCORE_NTFS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/ocfs2.cpp b/src/fs/ocfs2.cpp index 3d5a4ec..242801c 100644 --- a/src/fs/ocfs2.cpp +++ b/src/fs/ocfs2.cpp @@ -1,20 +1,13 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Teo Mrnjavac + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/ocfs2.h" diff --git a/src/fs/ocfs2.h b/src/fs/ocfs2.h index 39d881a..20e9d3a 100644 --- a/src/fs/ocfs2.h +++ b/src/fs/ocfs2.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_OCFS2_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_OCFS2_H #define KPMCORE_OCFS2_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/reiser4.cpp b/src/fs/reiser4.cpp index 31b4654..3b96bfe 100644 --- a/src/fs/reiser4.cpp +++ b/src/fs/reiser4.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/reiser4.h" diff --git a/src/fs/reiser4.h b/src/fs/reiser4.h index 7438b69..5cbb7e2 100644 --- a/src/fs/reiser4.h +++ b/src/fs/reiser4.h @@ -1,22 +1,15 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2013-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_REISER4_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_REISER4_H #define KPMCORE_REISER4_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/reiserfs.cpp b/src/fs/reiserfs.cpp index 6032350..654cd87 100644 --- a/src/fs/reiserfs.cpp +++ b/src/fs/reiserfs.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2013-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/reiserfs.h" diff --git a/src/fs/reiserfs.h b/src/fs/reiserfs.h index 505c2eb..0ad56a3 100644 --- a/src/fs/reiserfs.h +++ b/src/fs/reiserfs.h @@ -1,22 +1,15 @@ -/************************************************************************* - * Copyright (C) 2008,2009 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2008 Laurent Montel + SPDX-FileCopyrightText: 2013-2017 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_REISERFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_REISERFS_H #define KPMCORE_REISERFS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/udf.cpp b/src/fs/udf.cpp index ae55754..6b1e689 100644 --- a/src/fs/udf.cpp +++ b/src/fs/udf.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2017 by Pali Rohár * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Pali Rohár + SPDX-FileCopyrightText: 2017-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/udf.h" diff --git a/src/fs/udf.h b/src/fs/udf.h index 7599c9d..1dd1d46 100644 --- a/src/fs/udf.h +++ b/src/fs/udf.h @@ -1,22 +1,13 @@ -/************************************************************************* - * Copyright (C) 2017 by Pali Rohár * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2017 Pali Rohár + SPDX-FileCopyrightText: 2017 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_UDF_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_UDF_H #define KPMCORE_UDF_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/ufs.cpp b/src/fs/ufs.cpp index 6d40e61..4a27378 100644 --- a/src/fs/ufs.cpp +++ b/src/fs/ufs.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/ufs.h" diff --git a/src/fs/ufs.h b/src/fs/ufs.h index 4c072d7..90c03c7 100644 --- a/src/fs/ufs.h +++ b/src/fs/ufs.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_UFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_UFS_H #define KPMCORE_UFS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/unformatted.cpp b/src/fs/unformatted.cpp index 353f10c..3129508 100644 --- a/src/fs/unformatted.cpp +++ b/src/fs/unformatted.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2018 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/unformatted.h" diff --git a/src/fs/unformatted.h b/src/fs/unformatted.h index e05c6c5..c990b62 100644 --- a/src/fs/unformatted.h +++ b/src/fs/unformatted.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_UNFORMATTED_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_UNFORMATTED_H #define KPMCORE_UNFORMATTED_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/unknown.cpp b/src/fs/unknown.cpp index e5e34ca..6df09f7 100644 --- a/src/fs/unknown.cpp +++ b/src/fs/unknown.cpp @@ -1,19 +1,11 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008 Volker Lanz + SPDX-FileCopyrightText: 2016-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/unknown.h" diff --git a/src/fs/unknown.h b/src/fs/unknown.h index 88cada4..5f06943 100644 --- a/src/fs/unknown.h +++ b/src/fs/unknown.h @@ -1,19 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2016-2019 Andrius Štikonas + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #ifndef KPMCORE_UNKNOWN_H #define KPMCORE_UNKNOWN_H diff --git a/src/fs/xfs.cpp b/src/fs/xfs.cpp index 7a8cea5..453ed03 100644 --- a/src/fs/xfs.cpp +++ b/src/fs/xfs.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/xfs.h" diff --git a/src/fs/xfs.h b/src/fs/xfs.h index 1e80d4b..66aad94 100644 --- a/src/fs/xfs.h +++ b/src/fs/xfs.h @@ -1,22 +1,14 @@ -/************************************************************************* - * Copyright (C) 2008 by Volker Lanz * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2008-2010 Volker Lanz + SPDX-FileCopyrightText: 2013-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_XFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_XFS_H #define KPMCORE_XFS_H #include "util/libpartitionmanagerexport.h" diff --git a/src/fs/zfs.cpp b/src/fs/zfs.cpp index d442ed7..5d12894 100644 --- a/src/fs/zfs.cpp +++ b/src/fs/zfs.cpp @@ -1,20 +1,12 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2018 Andrius Štikonas + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY + + SPDX-License-Identifier: GPL-3.0-or-later +*/ #include "fs/zfs.h" diff --git a/src/fs/zfs.h b/src/fs/zfs.h index b727e25..6e559de 100644 --- a/src/fs/zfs.h +++ b/src/fs/zfs.h @@ -1,23 +1,15 @@ -/************************************************************************* - * Copyright (C) 2010 by Volker Lanz * - * Copyright (C) 2016 by Andrius Štikonas * - * * - * This program is free software; you can redistribute it and/or * - * modify it under the terms of the GNU General Public License as * - * published by the Free Software Foundation; either version 3 of * - * the License, or (at your option) any later version. * - * * - * This program is distributed in the hope that it will be useful, * - * but WITHOUT ANY WARRANTY; without even the implied warranty of * - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * - * GNU General Public License for more details. * - * * - * You should have received a copy of the GNU General Public License * - * along with this program. If not, see .* - *************************************************************************/ +/* + SPDX-FileCopyrightText: 2010 Volker Lanz + SPDX-FileCopyrightText: 2012-2016 Andrius Štikonas + SPDX-FileCopyrightText: 2015 Chris Campbell + SPDX-FileCopyrightText: 2019 Yuri Chornoivan + SPDX-FileCopyrightText: 2020 Arnaud Ferraris + SPDX-FileCopyrightText: 2020 Gaël PORTAY -#if !defined(KPMCORE_ZFS_H) + SPDX-License-Identifier: GPL-3.0-or-later +*/ +#ifndef KPMCORE_ZFS_H #define KPMCORE_ZFS_H #include "util/libpartitionmanagerexport.h"