From: Darrick J. Wong <djwong@xxxxxxxxxx> These files are missing the required SPDX license and copyright information. Add them. Signed-off-by: Darrick J. Wong <djwong@xxxxxxxxxx> --- scrub/xfs_scrub@xxxxxxxxxxx | 5 +++++ scrub/xfs_scrub_all.cron.in | 5 +++++ scrub/xfs_scrub_all.service.in | 5 +++++ scrub/xfs_scrub_all.timer | 5 +++++ scrub/xfs_scrub_fail | 5 +++++ scrub/xfs_scrub_fail@xxxxxxxxxxx | 5 +++++ 6 files changed, 30 insertions(+) diff --git a/scrub/xfs_scrub@xxxxxxxxxxx b/scrub/xfs_scrub@xxxxxxxxxxx index 6fb3f6ea2e9..d878eeda4fd 100644 --- a/scrub/xfs_scrub@xxxxxxxxxxx +++ b/scrub/xfs_scrub@xxxxxxxxxxx @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018-2024 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + [Unit] Description=Online XFS Metadata Check for %I OnFailure=xfs_scrub_fail@%i.service diff --git a/scrub/xfs_scrub_all.cron.in b/scrub/xfs_scrub_all.cron.in index 3dea9296077..c4d36958e76 100644 --- a/scrub/xfs_scrub_all.cron.in +++ b/scrub/xfs_scrub_all.cron.in @@ -1 +1,6 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018-2024 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> +# 10 3 * * 0 root test -e /run/systemd/system || @sbindir@/xfs_scrub_all diff --git a/scrub/xfs_scrub_all.service.in b/scrub/xfs_scrub_all.service.in index b1b80da40a3..4011ed271f9 100644 --- a/scrub/xfs_scrub_all.service.in +++ b/scrub/xfs_scrub_all.service.in @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018-2024 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + [Unit] Description=Online XFS Metadata Check for All Filesystems ConditionACPower=true diff --git a/scrub/xfs_scrub_all.timer b/scrub/xfs_scrub_all.timer index 2e4a33b1666..e6ba4215b43 100644 --- a/scrub/xfs_scrub_all.timer +++ b/scrub/xfs_scrub_all.timer @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018-2024 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + [Unit] Description=Periodic XFS Online Metadata Check for All Filesystems diff --git a/scrub/xfs_scrub_fail b/scrub/xfs_scrub_fail index 36dd50e9653..415efaa24d6 100755 --- a/scrub/xfs_scrub_fail +++ b/scrub/xfs_scrub_fail @@ -1,5 +1,10 @@ #!/bin/bash +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018-2024 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + # Email logs of failed xfs_scrub unit runs mailer=/usr/sbin/sendmail diff --git a/scrub/xfs_scrub_fail@xxxxxxxxxxx b/scrub/xfs_scrub_fail@xxxxxxxxxxx index 8d106e9ba4b..187adc17f6d 100644 --- a/scrub/xfs_scrub_fail@xxxxxxxxxxx +++ b/scrub/xfs_scrub_fail@xxxxxxxxxxx @@ -1,3 +1,8 @@ +# SPDX-License-Identifier: GPL-2.0 +# +# Copyright (C) 2018-2024 Oracle. All Rights Reserved. +# Author: Darrick J. Wong <djwong@xxxxxxxxxx> + [Unit] Description=Online XFS Metadata Check Failure Reporting for %I Documentation=man:xfs_scrub(8)