From 059b081ae9e55b4d040ab459727f600b47c15797 Mon Sep 17 00:00:00 2001 From: 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 85e6e5b..18c2cd9 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 342599f..033c8d8 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 86bdd97..ba7db5b 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 96d074d..2ff55e3 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 a001c5e..42fd2b2 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 46dcc2b..c88e92e 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 c30a0fe..e1235f2 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 63a04a2..0897ea9 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 c314f30..197c5da 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 04df14f..4d2d456 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 7fc872d..87607f5 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 bc778e3..9a5dd07 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 52c6cee..a3c4319 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 b8b5eaa..ff95718 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 bd0a4ea..675a529 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 1f77ee4..c263b40 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 a5a205d..1ed3220 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 a73c64f..674a19a 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 50e9d82..c29b278 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 #include diff --git a/lustre/include/linux/obd_ext2.h b/lustre/include/linux/obd_ext2.h index 571958c..6ab1b48 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 e28a708..b99161e 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 diff --git a/lustre/include/linux/obd_rpc.h b/lustre/include/linux/obd_rpc.h index 64372c1..af0f878 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 #define OBD_TGT_VERSION 001 diff --git a/lustre/include/linux/obd_snap.h b/lustre/include/linux/obd_snap.h index 74890c5..4b40801 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 ff8fc9a..e7dd012 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 841f4be..b8202c3 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 #include #include diff --git a/lustre/include/linux/obd_trace.h b/lustre/include/linux/obd_trace.h index 27b05c5..00e16bb 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 5a0951e..ed8198c 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 41df013..6e257e9 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 6f211bb..896bce2 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 b1c88e6..a261dd8 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 fcd7158..f83e7a6 100644 --- a/lustre/obdclass/proc_lustre.c +++ b/lustre/obdclass/proc_lustre.c @@ -1,5 +1,10 @@ /* proc_lustre.c manages /proc/lustre/obd. * + * Copyright (c) 2001 Rumi Zahir + * + * 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/ * when /dev/obd is opened. When the device is closed, the @@ -29,8 +34,6 @@ * proc_lustre_remove_obd_entry() removes a * /proc/lustre/obd// entry by name. This is the only * function that is exported to other modules. - * - * Copyright (c) 2001 Rumi Zahir */ #include diff --git a/lustre/obdclass/sysctl.c b/lustre/obdclass/sysctl.c index 3944b03..e080dad 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 #include #include diff --git a/lustre/obdfs/Makefile b/lustre/obdfs/Makefile index d07e8d7..ac24ec7 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 59e6fb0..1462f30 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 7968f10..ff07ce3 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 a1d0cb0..439eff3 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. * Copryright (C) 1999 Seagate Technology Inc. diff --git a/lustre/obdfs/namei.c b/lustre/obdfs/namei.c index 66bba9e..e899303 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 90894b3..316be95 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 * Copryright (C) 1999 Stelias Computing Inc, * (author Peter J. Braam ) diff --git a/lustre/obdfs/super.c b/lustre/obdfs/super.c index 3545827..1fb0444 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 * Copryright (C) 1999 Stelias Computing Inc. * Copryright (C) 1999 Seagate Technology Inc. diff --git a/lustre/obdfs/symlink.c b/lustre/obdfs/symlink.c index 396176c..a42c0ab 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 be63d57..c03b0289 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 #include #include diff --git a/lustre/scripts/license-status b/lustre/scripts/license-status new file mode 100755 index 0000000..5407b91 --- /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 , 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 7f3a793..9bd9f87 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 d5275f1..79921f0 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 , 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 6dd8750..a35631d 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 2bfc6d5..0601235 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 4dd4079..9af32d4 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 , 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 e94c949..23a4a67 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 4eb09c6..ea77cfb 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 c79a640..b941d78 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 #include #include diff --git a/lustre/tests/test2.c b/lustre/tests/test2.c index 4d486af..fbbe6bb 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 #include #include -- 1.8.3.1