From 059b081ae9e55b4d040ab459727f600b47c15797 Mon Sep 17 00:00:00 2001
From: gord-fig <gord-fig>
Date: Thu, 27 Sep 2001 22:25:48 +0000
Subject: [PATCH] Update copyright and  license information.

---
 lustre/demos/Makefile                   |  4 ++++
 lustre/demos/baseclean.sh               |  5 +++++
 lustre/demos/basesetup.sh               |  5 +++++
 lustre/demos/config.sh                  |  5 +++++
 lustre/demos/obdfsclean.sh              |  6 ++++++
 lustre/demos/obdfssetup.sh              |  6 ++++++
 lustre/demos/obdtest.sh                 |  6 ++++++
 lustre/demos/snap3clean.sh              |  6 ++++++
 lustre/demos/snap3set.sh                |  6 ++++++
 lustre/demos/snapclean.sh               |  6 ++++++
 lustre/demos/snapdel.sh                 |  6 ++++++
 lustre/demos/snaprest.sh                |  6 ++++++
 lustre/demos/snaprestclean.sh           |  6 ++++++
 lustre/demos/snapsetup.sh               |  6 ++++++
 lustre/demos/snaptest.sh                |  6 ++++++
 lustre/include/linux/Makefile           |  4 ++++
 lustre/include/linux/inofs.h            |  4 ++--
 lustre/include/linux/obd.h              |  7 ++++++-
 lustre/include/linux/obd_class.h        |  6 ++++++
 lustre/include/linux/obd_ext2.h         |  6 ++++++
 lustre/include/linux/obd_raid1.h        |  6 ++++++
 lustre/include/linux/obd_rpc.h          |  6 ++++++
 lustre/include/linux/obd_snap.h         |  6 ++++++
 lustre/include/linux/obd_snap_support.h |  6 ++++++
 lustre/include/linux/obd_support.h      |  7 +++++++
 lustre/include/linux/obd_trace.h        |  3 +++
 lustre/include/linux/obdfs.h            |  4 ++--
 lustre/include/linux/obdo.h             |  6 ++++++
 lustre/obdclass/Makefile                |  4 ++++
 lustre/obdclass/genops.c                |  4 ++++
 lustre/obdclass/proc_lustre.c           |  7 +++++--
 lustre/obdclass/sysctl.c                |  7 +++++++
 lustre/obdfs/Makefile                   |  4 ++++
 lustre/obdfs/dir.c                      |  3 +++
 lustre/obdfs/file.c                     |  3 +++
 lustre/obdfs/flushd.c                   |  3 +++
 lustre/obdfs/namei.c                    |  3 +++
 lustre/obdfs/rw.c                       |  3 +++
 lustre/obdfs/super.c                    |  3 +++
 lustre/obdfs/symlink.c                  |  3 +++
 lustre/obdfs/sysctl.c                   |  6 ++++++
 lustre/scripts/license-status           | 26 +++++++++++++++++++++++++
 lustre/scripts/maketags.sh              |  4 ++++
 lustre/scripts/mass_install             |  4 ++++
 lustre/scripts/mkobddevs                |  5 +++++
 lustre/scripts/obdtrace_demo.scr        |  4 ++++
 lustre/scripts/patch-if-change          |  4 ++++
 lustre/tests/fs.sh                      |  4 ++++
 lustre/tests/snaprun.sh                 |  6 ++++++
 lustre/tests/test.c                     |  7 +++++++
 lustre/tests/test2.c                    |  7 +++++++
 51 files changed, 273 insertions(+), 7 deletions(-)
 create mode 100755 lustre/scripts/license-status

diff --git a/lustre/demos/Makefile b/lustre/demos/Makefile
index 85e6e5bc3c..18c2cd954a 100644
--- a/lustre/demos/Makefile
+++ b/lustre/demos/Makefile
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 all: perms
 
 perms:
diff --git a/lustre/demos/baseclean.sh b/lustre/demos/baseclean.sh
index 342599f754..033c8d8e73 100755
--- a/lustre/demos/baseclean.sh
+++ b/lustre/demos/baseclean.sh
@@ -1,5 +1,10 @@
 #!/bin/sh
 # Script to remove the loopback device and temp file created in newtest.sh
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/basesetup.sh b/lustre/demos/basesetup.sh
index 86bdd9783b..ba7db5b089 100755
--- a/lustre/demos/basesetup.sh
+++ b/lustre/demos/basesetup.sh
@@ -1,5 +1,10 @@
 #! /bin/sh
 # Get the locations for the files from a single place to avoid confusion
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 OBDDIR="`dirname $0`/.."
 
 # source config info
diff --git a/lustre/demos/config.sh b/lustre/demos/config.sh
index 96d074dc11..2ff55e302a 100644
--- a/lustre/demos/config.sh
+++ b/lustre/demos/config.sh
@@ -2,6 +2,11 @@
 # File which holds configuation parameters in a single place to avoid any
 # mismatch between scripts (especially the cleanup scripts, which are
 # destructive).
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 #set -vx
 
 # Major number for OBD devices
diff --git a/lustre/demos/obdfsclean.sh b/lustre/demos/obdfsclean.sh
index a001c5ecbd..42fd2b2652 100755
--- a/lustre/demos/obdfsclean.sh
+++ b/lustre/demos/obdfsclean.sh
@@ -1,5 +1,11 @@
 #!/bin/sh
 # Utility script for cleaning up a simple OBDFS mounted filesystem
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/obdfssetup.sh b/lustre/demos/obdfssetup.sh
index 46dcc2b219..c88e92ee9e 100755
--- a/lustre/demos/obdfssetup.sh
+++ b/lustre/demos/obdfssetup.sh
@@ -1,5 +1,11 @@
 #! /bin/bash
 # Utility script for configuring a simple OBDFS mount
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 .  $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/obdtest.sh b/lustre/demos/obdtest.sh
index c30a0feadb..e1235f2469 100755
--- a/lustre/demos/obdtest.sh
+++ b/lustre/demos/obdtest.sh
@@ -2,6 +2,12 @@
 # Utility script to create an OBD snapshot.  If an existing filesystem is
 # not already mounted on /mnt/obd, we call the basic OBD setup script to
 # create and mount a filesystem for us.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/snap3clean.sh b/lustre/demos/snap3clean.sh
index 63a04a203d..0897ea9e09 100755
--- a/lustre/demos/snap3clean.sh
+++ b/lustre/demos/snap3clean.sh
@@ -1,5 +1,11 @@
 #!/bin/sh
 # Utility script for cleaning up a third snapshot created by setup3.sh
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/snap3set.sh b/lustre/demos/snap3set.sh
index c314f30b41..197c5da3ad 100755
--- a/lustre/demos/snap3set.sh
+++ b/lustre/demos/snap3set.sh
@@ -1,5 +1,11 @@
 #!/bin/sh
 # Utility script for creating a third snapshot.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/snapclean.sh b/lustre/demos/snapclean.sh
index 04df14fa0c..4d2d4567bf 100755
--- a/lustre/demos/snapclean.sh
+++ b/lustre/demos/snapclean.sh
@@ -1,5 +1,11 @@
 #! /bin/bash
 # Utility script for cleaning up snapshots and removing modules.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/snapdel.sh b/lustre/demos/snapdel.sh
index 7fc872de9e..87607f56d1 100755
--- a/lustre/demos/snapdel.sh
+++ b/lustre/demos/snapdel.sh
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to test deleting a snapshot that has been previously
 # created as the setup.sh script does.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/snaprest.sh b/lustre/demos/snaprest.sh
index bc778e3e7c..9a5dd070aa 100755
--- a/lustre/demos/snaprest.sh
+++ b/lustre/demos/snaprest.sh
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to test restoring a previous snapshot.  This will destroy
 # the "current" snapshot and restore the old one in its place.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/snaprestclean.sh b/lustre/demos/snaprestclean.sh
index 52c6ceee4a..a3c4319c8f 100755
--- a/lustre/demos/snaprestclean.sh
+++ b/lustre/demos/snaprestclean.sh
@@ -1,5 +1,11 @@
 #! /bin/bash
 # Utility script for cleaning up a simple OBDFS mounted filesystem
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/snapsetup.sh b/lustre/demos/snapsetup.sh
index b8b5eaae92..ff95718b04 100755
--- a/lustre/demos/snapsetup.sh
+++ b/lustre/demos/snapsetup.sh
@@ -2,6 +2,12 @@
 # Utility script to create an OBD snapshot.  If an existing filesystem is
 # not already mounted on /mnt/obd, we call the basic OBD setup script to
 # create and mount a filesystem for us.
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/demos/snaptest.sh b/lustre/demos/snaptest.sh
index bd0a4ea1c9..675a52962f 100755
--- a/lustre/demos/snaptest.sh
+++ b/lustre/demos/snaptest.sh
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to perform minor modifications to the read-write mounted
 # snapshot in order to demonstrate the changes w.r.t. the read-only snapshot
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/include/linux/Makefile b/lustre/include/linux/Makefile
index 1f77ee4f87..c263b40602 100644
--- a/lustre/include/linux/Makefile
+++ b/lustre/include/linux/Makefile
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 all .DEFAULT: 
 	$(MAKE) -C ../..  $@
diff --git a/lustre/include/linux/inofs.h b/lustre/include/linux/inofs.h
index a5a205d7f2..1ed3220d84 100644
--- a/lustre/include/linux/inofs.h
+++ b/lustre/include/linux/inofs.h
@@ -1,7 +1,7 @@
 /* object based disk file system
  * 
- * This software is licensed under the GPL.  See the file COPYING in the
- * top directory of this distribution for details.
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
  * 
  * Copyright (C), 1999, Stelias Computing Inc
  *
diff --git a/lustre/include/linux/obd.h b/lustre/include/linux/obd.h
index a73c64f3f7..674a19a372 100644
--- a/lustre/include/linux/obd.h
+++ b/lustre/include/linux/obd.h
@@ -1,6 +1,11 @@
 #ifndef __OBD_H
 #define __OBD_H
-
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 struct obd_conn_info {
         unsigned int conn_id;     /* handle */
diff --git a/lustre/include/linux/obd_class.h b/lustre/include/linux/obd_class.h
index 50e9d82b86..c29b278889 100644
--- a/lustre/include/linux/obd_class.h
+++ b/lustre/include/linux/obd_class.h
@@ -1,5 +1,11 @@
 #ifndef __LINUX_CLASS_OBD_H
 #define __LINUX_CLASS_OBD_H
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #include <linux/fs.h>
 #include <linux/time.h>
diff --git a/lustre/include/linux/obd_ext2.h b/lustre/include/linux/obd_ext2.h
index 571958cb91..6ab1b488b2 100644
--- a/lustre/include/linux/obd_ext2.h
+++ b/lustre/include/linux/obd_ext2.h
@@ -1,5 +1,11 @@
 #ifndef _OBD_EXT2
 #define _OBD_EXT2
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #define OBD_EXT2_RUNIT           _IOWR('f', 61, long)
 
diff --git a/lustre/include/linux/obd_raid1.h b/lustre/include/linux/obd_raid1.h
index e28a708ace..b99161e4f6 100644
--- a/lustre/include/linux/obd_raid1.h
+++ b/lustre/include/linux/obd_raid1.h
@@ -1,5 +1,11 @@
 #ifndef _OBD_RAID1
 #define _OBD_RAID1
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #include <linux/obd_class.h>
 
diff --git a/lustre/include/linux/obd_rpc.h b/lustre/include/linux/obd_rpc.h
index 64372c1524..af0f878c5d 100644
--- a/lustre/include/linux/obd_rpc.h
+++ b/lustre/include/linux/obd_rpc.h
@@ -1,5 +1,11 @@
 #ifndef __OBD_RPC_H
 #define __OBD_RPC_H
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #include <linux/sunrpc/svc.h>
 #define OBD_TGT_VERSION  001
diff --git a/lustre/include/linux/obd_snap.h b/lustre/include/linux/obd_snap.h
index 74890c560d..4b40801597 100644
--- a/lustre/include/linux/obd_snap.h
+++ b/lustre/include/linux/obd_snap.h
@@ -1,5 +1,11 @@
 #ifndef _OBD_SNAP
 #define _OBD_SNAP
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 #define OBD_SNAP_MAGIC 0xfffffff3   /* an unlikely block number */
 
diff --git a/lustre/include/linux/obd_snap_support.h b/lustre/include/linux/obd_snap_support.h
index ff8fc9a94c..e7dd012563 100644
--- a/lustre/include/linux/obd_snap_support.h
+++ b/lustre/include/linux/obd_snap_support.h
@@ -1,5 +1,11 @@
 #ifndef __OBD_SNAP_SUPP_H
 #define __OBD_SNAP_SUPP_H
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 /* What we use to point to IDs in the obdmd data for snapshots.  If we use
  * obd_id (8 bytes) instead of ino_t (4 bytes), we halve the number of
diff --git a/lustre/include/linux/obd_support.h b/lustre/include/linux/obd_support.h
index 841f4bec9f..b8202c33d5 100644
--- a/lustre/include/linux/obd_support.h
+++ b/lustre/include/linux/obd_support.h
@@ -1,5 +1,12 @@
 #ifndef _OBD_SUPPORT
 #define _OBD_SUPPORT
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
+
 #include <linux/autoconf.h>
 #include <linux/slab.h>
 #include <linux/vmalloc.h>
diff --git a/lustre/include/linux/obd_trace.h b/lustre/include/linux/obd_trace.h
index 27b05c5d80..00e16bbfa1 100644
--- a/lustre/include/linux/obd_trace.h
+++ b/lustre/include/linux/obd_trace.h
@@ -1,4 +1,7 @@
 /*
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * obdtrace (header file) - is useful for tracing and performance
  * debug of the Lustre obd protocol stack. obdtrace is a transparent
  * logical obd driver that prints commands their in- and outbound
diff --git a/lustre/include/linux/obdfs.h b/lustre/include/linux/obdfs.h
index 5a0951e477..ed8198c32b 100644
--- a/lustre/include/linux/obdfs.h
+++ b/lustre/include/linux/obdfs.h
@@ -1,7 +1,7 @@
 /* object based disk file system
  * 
- * This software is licensed under the GPL.  See the file COPYING in the
- * top directory of this distribution for details.
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
  * 
  * Copyright (C), 1999, Stelias Computing Inc
  *
diff --git a/lustre/include/linux/obdo.h b/lustre/include/linux/obdo.h
index 41df013861..6e257e9e76 100644
--- a/lustre/include/linux/obdo.h
+++ b/lustre/include/linux/obdo.h
@@ -1,5 +1,11 @@
 #ifndef OBD_H
 #define OBD_H
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 
 struct obdfs_inode_info {
         int              oi_flags;
diff --git a/lustre/obdclass/Makefile b/lustre/obdclass/Makefile
index 6f211bb379..896bce2724 100644
--- a/lustre/obdclass/Makefile
+++ b/lustre/obdclass/Makefile
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 MODULE = obdclass.o
 bin_PROGRAMS = obdcontrol
diff --git a/lustre/obdclass/genops.c b/lustre/obdclass/genops.c
index b1c88e6d05..a261dd8663 100644
--- a/lustre/obdclass/genops.c
+++ b/lustre/obdclass/genops.c
@@ -1,5 +1,9 @@
 /*
  *  linux/fs/ext2_obd/sim_obd.c
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
  *
  * These are the only exported functions; they provide the simulated object-
  * oriented disk.
diff --git a/lustre/obdclass/proc_lustre.c b/lustre/obdclass/proc_lustre.c
index fcd7158901..f83e7a6376 100644
--- a/lustre/obdclass/proc_lustre.c
+++ b/lustre/obdclass/proc_lustre.c
@@ -1,4 +1,9 @@
 /* proc_lustre.c manages /proc/lustre/obd. 
+ *
+ * Copyright (c) 2001 Rumi Zahir <rumi.zahir@intel.com>
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
  *
  * OBD devices materialize in /proc as a directory:
  *              /proc/lustre/obd/<number>
@@ -29,8 +34,6 @@
  *     proc_lustre_remove_obd_entry() removes a
  *     /proc/lustre/obd/<obdid>/ entry by name. This is the only
  *     function that is exported to other modules. 
- *
- * Copyright (c) 2001 Rumi Zahir <rumi.zahir@intel.com>
  */
 
 #include <linux/config.h>
diff --git a/lustre/obdclass/sysctl.c b/lustre/obdclass/sysctl.c
index 3944b03e1e..e080dadde7 100644
--- a/lustre/obdclass/sysctl.c
+++ b/lustre/obdclass/sysctl.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
+
 #include <linux/module.h>
 #include <linux/autoconf.h>
 #include <linux/sysctl.h>
diff --git a/lustre/obdfs/Makefile b/lustre/obdfs/Makefile
index d07e8d79dd..ac24ec733e 100644
--- a/lustre/obdfs/Makefile
+++ b/lustre/obdfs/Makefile
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 MODULE = obdfs.o
 CFILES=  flushd.c rw.c file.c dir.c sysctl.c super.c namei.c symlink.c
 
diff --git a/lustre/obdfs/dir.c b/lustre/obdfs/dir.c
index 59e6fb0b85..1462f30168 100644
--- a/lustre/obdfs/dir.c
+++ b/lustre/obdfs/dir.c
@@ -1,6 +1,9 @@
 /*
  *  linux/fs/ext2/dir.c
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1992, 1993, 1994, 1995
  * Remy Card (card@masi.ibp.fr)
  * Laboratoire MASI - Institut Blaise Pascal
diff --git a/lustre/obdfs/file.c b/lustre/obdfs/file.c
index 7968f10d9c..ff07ce3770 100644
--- a/lustre/obdfs/file.c
+++ b/lustre/obdfs/file.c
@@ -1,6 +1,9 @@
 /*
  *  linux/fs/ext2/file.c
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1992, 1993, 1994, 1995
  * Remy Card (card@masi.ibp.fr)
  * Laboratoire MASI - Institut Blaise Pascal
diff --git a/lustre/obdfs/flushd.c b/lustre/obdfs/flushd.c
index a1d0cb08ca..439eff3519 100644
--- a/lustre/obdfs/flushd.c
+++ b/lustre/obdfs/flushd.c
@@ -2,6 +2,9 @@
  * OBDFS Super operations - also used for Lustre file system
  *
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  *  Copyright (C) 1991, 1992  Linus Torvalds
  * Copryright (C) 1999 Stelias Computing Inc. <braam@stelias.com>
  * Copryright (C) 1999 Seagate Technology Inc.
diff --git a/lustre/obdfs/namei.c b/lustre/obdfs/namei.c
index 66bba9e0f8..e8993038c6 100644
--- a/lustre/obdfs/namei.c
+++ b/lustre/obdfs/namei.c
@@ -1,6 +1,9 @@
 /*
  *  linux/fs/obdfs/namei.c
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1992, 1993, 1994, 1995
  * Remy Card (card@masi.ibp.fr)
  * Laboratoire MASI - Institut Blaise Pascal
diff --git a/lustre/obdfs/rw.c b/lustre/obdfs/rw.c
index 90894b39f1..316be95c42 100644
--- a/lustre/obdfs/rw.c
+++ b/lustre/obdfs/rw.c
@@ -1,6 +1,9 @@
 /*
  * OBDFS Super operations
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1996, 1997, Olaf Kirch <okir@monad.swb.de>
  * Copryright (C) 1999 Stelias Computing Inc, 
  *                (author Peter J. Braam <braam@stelias.com>)
diff --git a/lustre/obdfs/super.c b/lustre/obdfs/super.c
index 35458276da..1fb04443a2 100644
--- a/lustre/obdfs/super.c
+++ b/lustre/obdfs/super.c
@@ -1,6 +1,9 @@
 /*
  * OBDFS Super operations
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copryright (C) 1996 Peter J. Braam <braam@stelias.com>
  * Copryright (C) 1999 Stelias Computing Inc. <braam@stelias.com>
  * Copryright (C) 1999 Seagate Technology Inc.
diff --git a/lustre/obdfs/symlink.c b/lustre/obdfs/symlink.c
index 396176cd26..a42c0ab8cf 100644
--- a/lustre/obdfs/symlink.c
+++ b/lustre/obdfs/symlink.c
@@ -1,6 +1,9 @@
 /*
  *  linux/fs/ext2/symlink.c
  *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ *
  * Copyright (C) 1992, 1993, 1994, 1995
  * Remy Card (card@masi.ibp.fr)
  * Laboratoire MASI - Institut Blaise Pascal
diff --git a/lustre/obdfs/sysctl.c b/lustre/obdfs/sysctl.c
index be63d570b9..c03b028999 100644
--- a/lustre/obdfs/sysctl.c
+++ b/lustre/obdfs/sysctl.c
@@ -1,3 +1,9 @@
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
 #include <linux/sched.h>
 #include <linux/mm.h>
 #include <linux/sysctl.h>
diff --git a/lustre/scripts/license-status b/lustre/scripts/license-status
new file mode 100755
index 0000000000..5407b9140a
--- /dev/null
+++ b/lustre/scripts/license-status
@@ -0,0 +1,26 @@
+#! /bin/sh
+# license-status - Display the status of files in the current directory
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+#
+# Gordon Matzigkeit <gord@fig.org>, 2001-09-27
+
+for f in `find . -type f | sort`; do
+ case "$f" in
+ *~ | *.orig | *.gz | */config.* | *.o | \
+ */CVS/* | */.cvsignore | */.depfiles/* | \
+ */COPYING | */ChangeLog)
+  continue
+  ;;
+ esac
+
+ if head -20 "$f" | egrep -e 'GNU' > /dev/null; then
+  echo "gpled $f"
+ elif head -20 "$f" | egrep -e '\([Cc]\)' > /dev/null; then
+  echo "copyrighted $f"
+ else
+  echo "bare $f"
+ fi
+done | sort
diff --git a/lustre/scripts/maketags.sh b/lustre/scripts/maketags.sh
index 7f3a7933d9..9bd9f87346 100755
--- a/lustre/scripts/maketags.sh
+++ b/lustre/scripts/maketags.sh
@@ -1,4 +1,8 @@
 #!/bin/sh
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 set -vx
 rm -f TAGS ; find . -name '*.h' -or -name '*.c' | xargs etags
 rm -f ctags; find . -name '*.h' -or -name '*.c' | xargs ctags
diff --git a/lustre/scripts/mass_install b/lustre/scripts/mass_install
index d5275f1ad0..79921f0f64 100755
--- a/lustre/scripts/mass_install
+++ b/lustre/scripts/mass_install
@@ -1,6 +1,10 @@
 #! /bin/sh
 # mass_install - Install zero or more files in a directory
 # Gordon Matzigkeit <gord@fig.org>, 2001-09-26
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 # Usage: mass_install DIR [FILES...] [OPTS...]
 FILES=
diff --git a/lustre/scripts/mkobddevs b/lustre/scripts/mkobddevs
index 6dd8750405..a35631d828 100755
--- a/lustre/scripts/mkobddevs
+++ b/lustre/scripts/mkobddevs
@@ -1,4 +1,9 @@
 #!/bin/sh -x
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 mknod -m 0600 /dev/obd0 c 186 0
 mknod -m 0600 /dev/obd1 c 186 1
 mknod -m 0600 /dev/obd2 c 186 2
diff --git a/lustre/scripts/obdtrace_demo.scr b/lustre/scripts/obdtrace_demo.scr
index 2bfc6d5e01..0601235bcd 100644
--- a/lustre/scripts/obdtrace_demo.scr
+++ b/lustre/scripts/obdtrace_demo.scr
@@ -1,3 +1,7 @@
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 # Print OS version
 shell uname -r
 # Insert Lustre kernel modules
diff --git a/lustre/scripts/patch-if-change b/lustre/scripts/patch-if-change
index 4dd40799b2..9af32d41f5 100755
--- a/lustre/scripts/patch-if-change
+++ b/lustre/scripts/patch-if-change
@@ -2,6 +2,10 @@
 # patch-if-change - Copy FILES to the current directory, apply PATCH,
 # and restore timestamps on files that weren't changed.
 # Gordon Matzigkeit <gord@fig.org>, 2001-09-25
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 # Usage: patch-if-change [PATCHFLAGS]... PATCH FILES...
 PATCHFLAGS=
diff --git a/lustre/tests/fs.sh b/lustre/tests/fs.sh
index e94c949fa1..23a4a67d07 100644
--- a/lustre/tests/fs.sh
+++ b/lustre/tests/fs.sh
@@ -1,4 +1,8 @@
 #! /bin/bash
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
 
 insmod loop
 dd if=/dev/zero of=/tmp/fs bs=1024 count=10000
diff --git a/lustre/tests/snaprun.sh b/lustre/tests/snaprun.sh
index 4eb09c66b5..ea77cfb704 100755
--- a/lustre/tests/snaprun.sh
+++ b/lustre/tests/snaprun.sh
@@ -1,6 +1,12 @@
 #!/bin/sh
 # Utility script to test several features of a snapshot filesystem
 # Assumes that snapshot has already been configured
+#
+# Copyright (C) 2001  Cluster File Systems, Inc.
+#
+# This code is issued under the GNU General Public License.
+# See the file COPYING in this distribution
+
 OBDDIR="`dirname $0`/.."
 . $OBDDIR/demos/config.sh
 
diff --git a/lustre/tests/test.c b/lustre/tests/test.c
index c79a640c80..b941d78dc3 100755
--- a/lustre/tests/test.c
+++ b/lustre/tests/test.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
diff --git a/lustre/tests/test2.c b/lustre/tests/test2.c
index 4d486af683..fbbe6bb361 100755
--- a/lustre/tests/test2.c
+++ b/lustre/tests/test2.c
@@ -1,3 +1,10 @@
+/*
+ * Copyright (C) 2001  Cluster File Systems, Inc.
+ *
+ * This code is issued under the GNU General Public License.
+ * See the file COPYING in this distribution
+ */
+
 #include <stdio.h>
 #include <stdlib.h>
 #include <fcntl.h>
-- 
GitLab