Add SPDX-License-Identifier to all files with GPL header (#919).

Remove GPL headers.  Remove outdated info about smartsuite.

git-svn-id: http://svn.code.sf.net/p/smartmontools/code/trunk@4760 4ea69e1a-61f1-4043-bf83-b5c94c648137
pull/15/merge
chrfranke 4 years ago
parent b18b59e10e
commit e391466f18
  1. 3
      smartmontools/ChangeLog
  2. 4
      smartmontools/README
  3. 9
      smartmontools/aacraid.h
  4. 9
      smartmontools/atacmdnames.cpp
  5. 10
      smartmontools/atacmdnames.h
  6. 14
      smartmontools/atacmds.cpp
  7. 14
      smartmontools/atacmds.h
  8. 9
      smartmontools/ataidentify.cpp
  9. 9
      smartmontools/ataidentify.h
  10. 14
      smartmontools/ataprint.cpp
  11. 14
      smartmontools/ataprint.h
  12. 9
      smartmontools/dev_areca.cpp
  13. 9
      smartmontools/dev_areca.h
  14. 9
      smartmontools/dev_ata_cmd_set.cpp
  15. 9
      smartmontools/dev_ata_cmd_set.h
  16. 9
      smartmontools/dev_intelliprop.cpp
  17. 9
      smartmontools/dev_intelliprop.h
  18. 9
      smartmontools/dev_interface.cpp
  19. 9
      smartmontools/dev_interface.h
  20. 9
      smartmontools/dev_legacy.cpp
  21. 9
      smartmontools/dev_tunnelled.h
  22. 9
      smartmontools/drivedb.h
  23. 12
      smartmontools/examplescripts/README
  24. 9
      smartmontools/json.cpp
  25. 9
      smartmontools/json.h
  26. 9
      smartmontools/knowndrives.cpp
  27. 9
      smartmontools/knowndrives.h
  28. 9
      smartmontools/nvmecmds.cpp
  29. 22
      smartmontools/nvmecmds.h
  30. 9
      smartmontools/nvmeprint.cpp
  31. 9
      smartmontools/nvmeprint.h
  32. 9
      smartmontools/os_darwin.cpp
  33. 15
      smartmontools/os_darwin.h
  34. 9
      smartmontools/os_freebsd.cpp
  35. 15
      smartmontools/os_freebsd.h
  36. 9
      smartmontools/os_generic.cpp
  37. 15
      smartmontools/os_generic.h
  38. 14
      smartmontools/os_linux.cpp
  39. 16
      smartmontools/os_linux.h
  40. 10
      smartmontools/os_netbsd.cpp
  41. 15
      smartmontools/os_netbsd.h
  42. 10
      smartmontools/os_openbsd.cpp
  43. 15
      smartmontools/os_openbsd.h
  44. 9
      smartmontools/os_os2.cpp
  45. 9
      smartmontools/os_os2.h
  46. 15
      smartmontools/os_qnxnto.h
  47. 10
      smartmontools/os_solaris.cpp
  48. 15
      smartmontools/os_solaris.h
  49. 14
      smartmontools/os_solaris_ata.s
  50. 9
      smartmontools/os_win32.cpp
  51. 9
      smartmontools/os_win32/daemon_win32.cpp
  52. 9
      smartmontools/os_win32/daemon_win32.h
  53. 8
      smartmontools/os_win32/installer.nsi
  54. 9
      smartmontools/os_win32/runcmd.c
  55. 8
      smartmontools/os_win32/smartd_mailer.ps1
  56. 8
      smartmontools/os_win32/smartd_warning.cmd
  57. 10
      smartmontools/os_win32/syslog.h
  58. 9
      smartmontools/os_win32/syslog_win32.cpp
  59. 10
      smartmontools/os_win32/syslogevt.mc
  60. 8
      smartmontools/os_win32/update-smart-drivedb.nsi
  61. 9
      smartmontools/os_win32/wmiquery.cpp
  62. 9
      smartmontools/os_win32/wmiquery.h
  63. 9
      smartmontools/os_win32/wtssendmsg.c
  64. 10
      smartmontools/scsiata.cpp
  65. 13
      smartmontools/scsicmds.cpp
  66. 13
      smartmontools/scsicmds.h
  67. 15
      smartmontools/scsiprint.cpp
  68. 15
      smartmontools/scsiprint.h
  69. 15
      smartmontools/smartctl.8.in
  70. 14
      smartmontools/smartctl.cpp
  71. 15
      smartmontools/smartctl.h
  72. 15
      smartmontools/smartd.8.in
  73. 15
      smartmontools/smartd.conf.5.in
  74. 14
      smartmontools/smartd.cpp
  75. 8
      smartmontools/smartd.cygwin.initd.in
  76. 13
      smartmontools/smartd.initd.in
  77. 8
      smartmontools/smartd_warning.sh.in
  78. 10
      smartmontools/update-smart-drivedb.8.in
  79. 8
      smartmontools/update-smart-drivedb.in
  80. 14
      smartmontools/utility.cpp
  81. 14
      smartmontools/utility.h

@ -2,6 +2,9 @@ $Id$
2018-08-19 Christian Franke <franke@computer.org>
Add SPDX-License-Identifier to all files with GPL header (#919).
Remove GPL headers. Remove outdated info about smartsuite.
getopt/*, regex/*: Replace with current version from glibc 2.28
(2018-08-01). Add _GETOPT/REGEX*_STANDALONE configurations.
Makefile.am, os_win32/vc14/smart*.vcxproj*: Set *_STANDALONE.

@ -20,7 +20,7 @@ You will find a mailing list for support and other questions at:
== COPYING ==
Copyright (C) 2002-9 Bruce Allen
Copyright (C) 2004-15 Christian Franke
Copyright (C) 2004-18 Christian Franke
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
@ -30,6 +30,8 @@ version.
You should have received a copy of the GNU General Public License (for
example COPYING). If not, see <http://www.gnu.org/licenses/>.
SPDX-License-Identifier: GPL-2.0-or-later
== CREDITS ==
See AUTHORS file.

@ -2,14 +2,7 @@
* Copyright (C) 2014 Raghava Aditya <Raghava.Aditya@pmcs.com>
* Copyright (C) 2015 Nidhi Malhotra <Nidhi.Malhotra@pmcs.com>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
// Check windows

@ -6,14 +6,7 @@
* Copyright (C) 2003-8 Philip Williams
* Copyright (C) 2012 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "atacmdnames.h"

@ -8,15 +8,7 @@
*
* Copyright (C) 2003-8 Philip Williams
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ATACMDNAMES_H_

@ -8,19 +8,7 @@
* Copyright (C) 1999-2000 Michael Cornwell <cornwell@acm.org>
* Copyright (C) 2000 Andre Hedrick <andre@linux-ide.org>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -7,19 +7,7 @@
* Copyright (C) 2008-17 Christian Franke
* Copyright (C) 1999-2000 Michael Cornwell <cornwell@acm.org>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ATACMDS_H_

@ -5,14 +5,7 @@
*
* Copyright (C) 2012-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2012 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ATAIDENTIFY_H

@ -7,19 +7,7 @@
* Copyright (C) 2008-18 Christian Franke
* Copyright (C) 1999-2000 Michael Cornwell <cornwell@acm.org>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -7,19 +7,7 @@
* Copyright (C) 2008-17 Christian Franke
* Copyright (C) 1999-2000 Michael Cornwell <cornwell@acm.org>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef ATAPRINT_H_

@ -5,14 +5,7 @@
*
* Copyright (C) 2012 Hank Wu <hank@areca.com.tw>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2012 Hank Wu <hank@areca.com.tw>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DEV_ARECA_H

@ -5,14 +5,7 @@
*
* Copyright (C) 2008-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2008 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DEV_ATA_CMD_SET_H

@ -5,14 +5,7 @@
*
* Copyright (C) 2016 Casey Biemiller <cbiemiller@intelliprop.com>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2012 Hank Wu <hank@areca.com.tw>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DEV_INTELLIPROP_H

@ -5,14 +5,7 @@
*
* Copyright (C) 2008-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2008-16 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DEV_INTERFACE_H

@ -5,14 +5,7 @@
*
* Copyright (C) 2008-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2008 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DEV_TUNNELLED_H

@ -6,14 +6,7 @@
* Copyright (C) 2003-11 Philip Williams, Bruce Allen
* Copyright (C) 2008-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/*

@ -5,18 +5,8 @@
# Copyright (C) 2003-08 Bruce Allen
# Copyright (C) 2009-18 Christian Franke
#
# 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 2, or (at your option) any later
# version.
#
# You should have received a copy of the GNU General Public License (for
# example COPYING). If not, see <http://www.gnu.org/licenses/>.
# SPDX-License-Identifier: GPL-2.0-or-later
#
# This code was originally developed as a Senior Thesis by Michael Cornwell
# at the Concurrent Systems Laboratory (now part of the Storage Systems
# Research Center), Jack Baskin School of Engineering, University of
# California, Santa Cruz. http://ssrc.soe.ucsc.edu/
This directory contains executable shell scripts, that are intended for
use with the

@ -5,14 +5,7 @@
*
* Copyright (C) 2017-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2017-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef JSON_H_CVSID

@ -6,14 +6,7 @@
* Copyright (C) 2003-11 Philip Williams, Bruce Allen
* Copyright (C) 2008-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -6,14 +6,7 @@
* Copyright (C) 2003-11 Philip Williams, Bruce Allen
* Copyright (C) 2008-15 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef KNOWNDRIVES_H_

@ -5,14 +5,7 @@
*
* Copyright (C) 2016 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -8,14 +8,7 @@
* Original code from <linux/nvme.h>:
* Copyright (C) 2011-2014 Intel Corporation
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NVMECMDS_H
@ -33,19 +26,6 @@ namespace smartmontools {
////////////////////////////////////////////////////////////////////////////
// BEGIN: From <linux/nvme.h>
/*
* Definitions for the NVM Express interface
* Copyright (c) 2011-2014, Intel Corporation.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms and conditions of the GNU General Public License,
* version 2, as published by the Free Software Foundation.
*
* This program is distributed in the hope 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.
*/
struct nvme_error_log_page {
uint64_t error_count;

@ -5,14 +5,7 @@
*
* Copyright (C) 2016-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2016 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef NVMEPRINT_H

@ -6,14 +6,7 @@
* Copyright (C) 2004-8 Geoffrey Keating <geoffk@geoffk.org>
* Copyright (C) 2014 Alex Samorukov <samm@os2.kiev.ua>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* along with smartmontools. If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <stdbool.h>

@ -5,20 +5,7 @@
*
* Copyright (C) 2004-8 Geoff Keating <geoffk@geoffk.org>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef OS_DARWIN_H_

@ -5,14 +5,7 @@
*
* Copyright (C) 2003-10 Eduard Martinescu
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <sys/param.h>

@ -5,20 +5,7 @@
*
* Copyright (C) 2003-8 Eduard Martinescu
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/*-

@ -7,14 +7,7 @@
* Copyright (C) 2003-8 Bruce Allen
* Copyright (C) 2008-18 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/

@ -6,20 +6,7 @@
* Copyright (C) YEAR YOUR_NAME
* Copyright (C) 2003-8 Bruce Allen
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
// In the three following lines, change 'GENERIC' to your OS name

@ -34,19 +34,7 @@
* Copyright (C) 1999-2000 Michael Cornwell <cornwell@acm.org>
* Copyright (C) 2000 Andre Hedrick <andre@linux-ide.org>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
// This file contains the linux-specific IOCTL parts of

@ -17,21 +17,7 @@
* Kernel compatablity By: Andre Hedrick <andre@suse.com>
* Non-Copyright (C) 2000 Andre Hedrick <andre@suse.com>
*
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/

@ -6,15 +6,7 @@
* Copyright (C) 2003-8 Sergey Svishchev
* Copyright (C) 2016 Kimihiro Nonaka
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,20 +5,7 @@
*
* Copyright (C) 2003-8 Sergey Svishchev
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef OS_NETBSD_H_

@ -7,15 +7,7 @@
*
* Derived from os_netbsd.cpp by Sergey Svishchev, Copyright (C) 2003-8
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -7,20 +7,7 @@
*
* Derived from os_netbsd.c by Sergey Svishchev, Copyright (C) 2003-8
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef OS_OPENBSD_H_

@ -5,14 +5,7 @@
*
* Copyright (C) 2004-8 Yuri Dario
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
/*

@ -5,14 +5,7 @@
*
* Copyright (C) 2004-8 Yuri Dario
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef OS_OS2_H_

@ -6,20 +6,7 @@
* Copyright (C) Joerg Hering
* Copyright (C) 2003-8 Bruce Allen
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef OS_QNXNTO_H_
#define OS_QNXNTO_H_

@ -6,15 +6,7 @@
* Copyright (C) 2003-08 SAWADA Keiji
* Copyright (C) 2003-15 Casper Dik
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include <stdlib.h>

@ -6,20 +6,7 @@
* Copyright (C) 2003-8 SAWADA Keiji
* Copyright (C) 2003-8 Casper Dik
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); if not, write to the Free Software Foundation,
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*
* This code was originally developed as a Senior Thesis by Michael Cornwell
* at the Concurrent Systems Laboratory (now part of the Storage Systems
* Research Center), Jack Baskin School of Engineering, University of
* California, Santa Cruz. http://ssrc.soe.ucsc.edu/
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef OS_SOLARIS_H_

@ -5,19 +5,7 @@
!
! Copyright (C) 2003-8 SAWADA Keiji
!
! 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 2 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, write to the Free Software Foundation,
! Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
! SPDX-License-Identifier: GPL-2.0-or-later
!
!
! --------------------------------------------------------

@ -11,14 +11,7 @@
* Original Areca code:
* Copyright (C) 2012 Hank Wu <hank@areca.com.tw>
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#include "config.h"

@ -5,14 +5,7 @@
*
* Copyright (C) 2004-14 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#define WINVER 0x0600

@ -5,14 +5,7 @@
*
* Copyright (C) 2004-12 Christian Franke
*
* 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 2, or (at your option)
* any later version.
*
* You should have received a copy of the GNU General Public License
* (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
*
* SPDX-License-Identifier: GPL-2.0-or-later
*/
#ifndef DAEMON_WIN32_H

@ -5,13 +5,7 @@
;
; Copyright (C) 2006-17 Christian Franke
;
; 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 2, or (at your option)
; any later version.
;
; You should have received a copy of the GNU General Public License
; (for example COPYING); If not, see <http://www.gnu.org/licenses/>.
; SPDX-License-Identifier: GPL-2.0-or-later
;
; $Id$
;

@ -5,14 +5,7 @@
*
* Copyright (C) 2011 Christian Franke
*</