new file mode 100644
@@ -0,0 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0
+
+COPYRIGHT
+---------
+Copyright (c) 2016 - 2018, Intel Corporation. License GPLv2: GNU GPL
+version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
+you are free to change and redistribute it. There is NO WARRANTY, to
+the extent permitted by law.
@@ -22,6 +22,7 @@ CLEANFILES = $(man1_MANS)
XML_DEPS = \
../../version.m4 \
+ ../copyright.txt \
Makefile \
asciidoc.conf
@@ -33,6 +34,6 @@ RM ?= rm -f
--unsafe -adaxctl_version=$(VERSION) -o $@+ $< && \
mv $@+ $@
-%.1: %.xml
+%.1: %.xml $(XML_DEPS)
$(AM_V_GEN)$(RM) $@ && \
$(XMLTO) -o . -m ../manpage-normal.xsl man $<
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
daxctl-list(1)
=============
@@ -93,9 +95,4 @@ OPTIONS
"size":"30.57 GiB (32.83 GB)"
}
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
daxctl(1)
=========
@@ -27,6 +29,8 @@ the Linux kernel Device-DAX facility. This facility enables DAX mappings
of performance / feature differentiated memory without need of a
filesystem.
+include::../copyright.txt[]
+
SEE ALSO
--------
linkdaxctl:ndctl-create-namespace[1],
@@ -40,6 +40,7 @@ XML_DEPS = \
../../version.m4 \
Makefile \
asciidoc.conf \
+ ../copyright.txt \
region-description.txt \
xable-region-options.txt \
dimm-description.txt \
@@ -56,6 +57,6 @@ RM ?= rm -f
--unsafe -andctl_version=$(VERSION) -o $@+ $< && \
mv $@+ $@
-%.1: %.xml
+%.1: %.xml $(XML_DEPS)
$(AM_V_GEN)$(RM) $@ && \
$(XMLTO) -o . -m ../manpage-normal.xsl man $<
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
DESCRIPTION
-----------
A generic DIMM device object, named /dev/nmemX, is registered for each
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
-u::
--human::
Format numbers representing storage sizes, or offsets as human
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
DESCRIPTION
-----------
The namespace label area is a small persistent partition of capacity
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
<memory device(s)>::
One or more 'nmemX' device names. The keyword 'all' can be specified to
operate on every dimm in the system, optionally filtered by bus id (see
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
DESCRIPTION
-----------
A REGION, after resolving DPA aliasing and LABEL specified boundaries,
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-check-labels(1)
====================
@@ -19,12 +21,7 @@ OPTIONS
-------
include::labels-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-check-namespace(1)
=========================
@@ -67,12 +69,7 @@ OPTIONS
--region=::
include::xable-region-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-create-namespace(1)
=========================
@@ -208,12 +210,7 @@ OPTIONS
--region=::
include::xable-region-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-destroy-namespace(1)
=========================
@@ -25,12 +27,7 @@ include::xable-namespace-options.txt[]
namespace' operations will be aborted. The namespace must be
unmounted before being destroyed.
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-disable-dimm(1)
=======================
@@ -17,12 +19,7 @@ OPTIONS
<dimm>::
include::xable-dimm-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-disable-namespace(1)
=========================
@@ -16,12 +18,7 @@ OPTIONS
-------
include::xable-namespace-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-disable-region(1)
=======================
@@ -17,12 +19,7 @@ OPTIONS
<region>::
include::xable-region-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-enable-dimm(1)
====================
@@ -17,12 +19,7 @@ OPTIONS
<dimm>::
include::xable-dimm-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-enable-namespace(1)
=========================
@@ -16,12 +18,7 @@ OPTIONS
-------
include::xable-namespace-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-enable-region(1)
====================
@@ -17,12 +19,7 @@ OPTIONS
<region>::
include::xable-region-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-init-labels(1)
====================
@@ -76,12 +78,7 @@ include::labels-options.txt[]
be an existing / valid namespace index. Warning, this will
destroy all defined namespaces on the dimm.
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-inject-error(1)
=====================
@@ -96,12 +98,7 @@ include::human-option.txt[]
--region=::
include::xable-region-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-inject-smart(1)
=====================
@@ -90,12 +92,7 @@ OPTIONS
include::human-option.txt[]
-COPYRIGHT
----------
-Copyright (c) 2018, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-list(1)
=============
@@ -221,12 +223,7 @@ include::human-option.txt[]
"badblock_count":8
}
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-read-labels(1)
====================
@@ -25,12 +27,7 @@ include::labels-options.txt[]
parse the label data into json assuming the 'NVDIMM Namespace
Specification' format.
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-update-firmware(1)
========================
@@ -30,9 +32,4 @@ include::xable-dimm-options.txt[]
--verbose::
Emit debug messages for the namespace check process.
-COPYRIGHT
----------
-Copyright (c) 2017 - 2018, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-write-labels(1)
=====================
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl-zero-labels(1)
====================
@@ -18,12 +20,7 @@ OPTIONS
-------
include::labels-options.txt[]
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
ndctl(1)
=======
@@ -30,12 +32,7 @@ supported by the tool include, provisioning capacity (namespaces), as
well as enumerating/enabling/disabling the devices (dimms, regions,
namspaces) associated with an NVDIMM bus.
-COPYRIGHT
----------
-Copyright (c) 2016 - 2017, Intel Corporation. License GPLv2: GNU GPL
-version 2 <http://gnu.org/licenses/gpl.html>. This is free software:
-you are free to change and redistribute it. There is NO WARRANTY, to
-the extent permitted by law.
+include::../copyright.txt[]
SEE ALSO
--------
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
DESCRIPTION
-----------
A generic REGION device is registered for each PMEM range or
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
A 'nmemX' device name, or a dimm id number. The keyword 'all' can
be specified to carry out the operation on every dimm in the system,
optionally filtered by bus id (see --bus= option).
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
<namespace>::
A 'namespaceX.Y' device name. The keyword 'all' can be specified to carry out
the operation on every namespace in the system, optionally filtered by region
@@ -1,3 +1,5 @@
+// SPDX-License-Identifier: GPL-2.0
+
A 'regionX' device name, or a region id number. The keyword 'all' can
be specified to carry out the operation on every region in the system,
optionally filtered by bus id (see --bus= option).
Use SPDX identifiers in the documentation source, and move the "Copyright" boilerplate that is emitted into the man page into a common header file. Signed-off-by: Dan Williams <dan.j.williams@intel.com> --- Documentation/copyright.txt | 8 ++++++++ Documentation/daxctl/Makefile.am | 3 ++- Documentation/daxctl/daxctl-list.txt | 9 +++------ Documentation/daxctl/daxctl.txt | 4 ++++ Documentation/ndctl/Makefile.am | 3 ++- Documentation/ndctl/dimm-description.txt | 2 ++ Documentation/ndctl/human-option.txt | 2 ++ Documentation/ndctl/labels-description.txt | 2 ++ Documentation/ndctl/labels-options.txt | 2 ++ Documentation/ndctl/namespace-description.txt | 2 ++ Documentation/ndctl/ndctl-check-labels.txt | 9 +++------ Documentation/ndctl/ndctl-check-namespace.txt | 9 +++------ Documentation/ndctl/ndctl-create-namespace.txt | 9 +++------ Documentation/ndctl/ndctl-destroy-namespace.txt | 9 +++------ Documentation/ndctl/ndctl-disable-dimm.txt | 9 +++------ Documentation/ndctl/ndctl-disable-namespace.txt | 9 +++------ Documentation/ndctl/ndctl-disable-region.txt | 9 +++------ Documentation/ndctl/ndctl-enable-dimm.txt | 9 +++------ Documentation/ndctl/ndctl-enable-namespace.txt | 9 +++------ Documentation/ndctl/ndctl-enable-region.txt | 9 +++------ Documentation/ndctl/ndctl-init-labels.txt | 9 +++------ Documentation/ndctl/ndctl-inject-error.txt | 9 +++------ Documentation/ndctl/ndctl-inject-smart.txt | 9 +++------ Documentation/ndctl/ndctl-list.txt | 9 +++------ Documentation/ndctl/ndctl-read-labels.txt | 9 +++------ Documentation/ndctl/ndctl-update-firmware.txt | 9 +++------ Documentation/ndctl/ndctl-write-labels.txt | 2 ++ Documentation/ndctl/ndctl-zero-labels.txt | 9 +++------ Documentation/ndctl/ndctl.txt | 9 +++------ Documentation/ndctl/region-description.txt | 2 ++ Documentation/ndctl/xable-dimm-options.txt | 2 ++ Documentation/ndctl/xable-namespace-options.txt | 2 ++ Documentation/ndctl/xable-region-options.txt | 2 ++ 33 files changed, 93 insertions(+), 116 deletions(-) create mode 100644 Documentation/copyright.txt