[Ocfs2-tools-devel] [PATCH 1/1] ocfs2-test: Add GPL V2 license for all sources and headers

Tristan Ye tristan.ye at oracle.com
Tue Sep 2 23:13:46 PDT 2008


Add a unified GPL license comment for all .c and .h files,and also adjust the year in the Copyrith.

Signed-off-by: Tristan Ye <tristan.ye at oracle.com>
---
 programs/aio-stress/aio-stress.c                   |   41 +++++++------------
 programs/aio_direct/partial_aio_direct.c           |   17 ++++++++
 programs/bonnie/bonnie++-1.03a/bon_file.h          |   15 +++++++
 programs/bonnie/bonnie++-1.03a/bon_io.h            |   15 +++++++
 programs/bonnie/bonnie++-1.03a/bon_time.h          |   15 +++++++
 programs/bonnie/bonnie++-1.03a/bonnie.h            |   15 +++++++
 programs/bonnie/bonnie++-1.03a/conf.h              |   15 +++++++
 programs/bonnie/bonnie++-1.03a/forkit.h            |   15 +++++++
 programs/bonnie/bonnie++-1.03a/port.h              |   15 +++++++
 programs/bonnie/bonnie++-1.03a/semaphore.h         |   15 +++++++
 .../check_file_size_limits.c                       |   17 ++++++++
 programs/create_and_open/create_and_open.c         |   17 +++-----
 programs/create_racer/create_racer.c               |   16 +++----
 programs/extend_and_write/extend_and_write.c       |   32 +++++++--------
 programs/extend_and_write/verify.c                 |   17 ++++++++
 programs/extend_files/truncate_direct.c            |   17 ++++++++
 programs/extendo/extendo.c                         |   17 ++++++++
 programs/fill_verify_holes/fill_holes.c            |   17 ++++++++
 programs/fill_verify_holes/fill_holes.h            |   17 ++++++++
 programs/fill_verify_holes/punch_holes.c           |   17 ++++++++
 programs/fill_verify_holes/reservations.h          |   17 ++++++++
 programs/fill_verify_holes/verify_holes.c          |   17 ++++++++
 programs/flock_tests/flock_unit_test.c             |   16 +++----
 programs/forkwriter/forkwriter.c                   |   42 ++++++++-----------
 programs/fsx/fsx-linux.c                           |   26 +++++++++---
 programs/inline-data/inline-data.c                 |   17 +++++++-
 programs/inline-data/inline-dirs.c                 |   17 +++++++-
 programs/inline-data/reservations.h                |   17 ++++++++
 programs/iozone/iozone3_263/src/current/fileop.c   |   22 ++++++-----
 programs/iozone/iozone3_263/src/current/iozone.c   |   21 +++++++++-
 programs/iozone/iozone3_263/src/current/libasync.c |   18 +++++++-
 programs/iozone/iozone3_263/src/current/libbif.c   |   19 +++++++--
 programs/lock_grab/lock_grab.c                     |   27 ++++++-------
 programs/logwriter/enospc_test.c                   |   16 +++----
 programs/logwriter/logwriter.c                     |   36 +++++++---------
 programs/lvb_torture/lvb_torture.c                 |   22 +++++------
 programs/mmap_test/mmap_test.c                     |   32 +++++++--------
 programs/mmap_truncate/mmap_truncate.c             |   17 ++++++++
 programs/multi_node_mmap/multi_mmap.c              |   30 +++++++-------
 programs/open_delete/open_delete.c                 |   30 +++++++-------
 programs/postmark/postmark-1_5.c                   |   15 +++++++-
 programs/reserve_space/reservations.h              |   17 ++++++++
 programs/reserve_space/reserve_space.c             |   17 ++++++++
 programs/sendfiletest/sendfiletest.c               |   17 ++++++++
 programs/splice/splice_read.c                      |   17 ++++++++
 programs/splice/splice_test.h                      |   17 ++++++++
 programs/splice/splice_write.c                     |   17 ++++++++
 programs/truncate/ocfs2-tools/test_truncate.c      |   31 ++++++---------
 programs/truncate/truncate.c                       |   17 ++++++++
 programs/ttest/ttest.c                             |   17 ++++++++
 programs/tunefs-test/remove-slot/remove_slot.c     |   33 ++++++---------
 .../write_append_truncate/write_append_truncate.c  |   18 +++++++-
 programs/write_torture/write_torture.c             |   17 ++++++++
 utilities/mpi-run-parts/mpi-run-parts.c            |   17 ++++----
 54 files changed, 806 insertions(+), 282 deletions(-)

diff --git a/programs/aio-stress/aio-stress.c b/programs/aio-stress/aio-stress.c
index 91af264..42b2755 100644
--- a/programs/aio-stress/aio-stress.c
+++ b/programs/aio-stress/aio-stress.c
@@ -1,30 +1,7 @@
-/*
- * Copyright (c) 2004 SuSE, Inc.  All Rights Reserved.
- * 
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of version 2 of the GNU General Public License as
- * published by the Free Software Foundation.
- * 
- * This program is distributed in the hope that it would be useful, but
- * WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
- * 
- * Further, this software is distributed without any warranty that it is
- * free of the rightful claim of any third person regarding infringement
- * or the like.  Any license provided herein, whether implied or
- * otherwise, applies only to this software file.  Patent licenses, if
- * any, provided herein do not apply to combinations of this program with
- * other software, or any other product whatsoever.
- * 
- * You should have received a copy of the GNU General Public License along
- * with this program; if not, write the Free Software Foundation, Inc., 59
- * Temple Place - Suite 330, Boston MA 02111-1307, USA.
- * 
- * Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
- * Mountain View, CA  94043, or:
- * 
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
  *
- * aio-stress
+ * aio-stress.c
  *
  * will open or create each file on the command line, and start a series
  * of aio to it.  
@@ -40,7 +17,19 @@
  * run aio-stress -h to see the options
  *
  * Please mail Chris Mason (mason at suse.com) with bug reports or patches
+ *
+ * Copyright (c) 2004 SuSE, Inc.  All Rights Reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
+
 #define _FILE_OFFSET_BITS 64
 #define PROG_VERSION "0.21"
 #define NEW_GETEVENTS
diff --git a/programs/aio_direct/partial_aio_direct.c b/programs/aio_direct/partial_aio_direct.c
index a595947..7faecf9 100644
--- a/programs/aio_direct/partial_aio_direct.c
+++ b/programs/aio_direct/partial_aio_direct.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * partial_aio_direct.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _GNU_SOURCE
 
 #include <unistd.h>
diff --git a/programs/bonnie/bonnie++-1.03a/bon_file.h b/programs/bonnie/bonnie++-1.03a/bon_file.h
index 2d8f213..6b8d20c 100644
--- a/programs/bonnie/bonnie++-1.03a/bon_file.h
+++ b/programs/bonnie/bonnie++-1.03a/bon_file.h
@@ -1,3 +1,18 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * bon_file.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #ifndef BON_IO
 #define BON_IO
 
diff --git a/programs/bonnie/bonnie++-1.03a/bon_io.h b/programs/bonnie/bonnie++-1.03a/bon_io.h
index 1c8be0b..53276c4 100644
--- a/programs/bonnie/bonnie++-1.03a/bon_io.h
+++ b/programs/bonnie/bonnie++-1.03a/bon_io.h
@@ -1,3 +1,18 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * bon_io.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #ifndef BON_FILE
 #define BON_FILE
 
diff --git a/programs/bonnie/bonnie++-1.03a/bon_time.h b/programs/bonnie/bonnie++-1.03a/bon_time.h
index 79f878a..865a017 100644
--- a/programs/bonnie/bonnie++-1.03a/bon_time.h
+++ b/programs/bonnie/bonnie++-1.03a/bon_time.h
@@ -1,3 +1,18 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * bon_time.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #ifndef BON_TIME_H
 #define BON_TIME_H
 
diff --git a/programs/bonnie/bonnie++-1.03a/bonnie.h b/programs/bonnie/bonnie++-1.03a/bonnie.h
index 976bb6f..32633b3 100644
--- a/programs/bonnie/bonnie++-1.03a/bonnie.h
+++ b/programs/bonnie/bonnie++-1.03a/bonnie.h
@@ -1,3 +1,18 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * bonnie.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #ifndef BONNIE
 #define BONNIE
 
diff --git a/programs/bonnie/bonnie++-1.03a/conf.h b/programs/bonnie/bonnie++-1.03a/conf.h
index 61a7d3f..6fdde46 100644
--- a/programs/bonnie/bonnie++-1.03a/conf.h
+++ b/programs/bonnie/bonnie++-1.03a/conf.h
@@ -1,3 +1,18 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * conf.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 /* conf.h.  Generated by configure.  */
 #ifndef CONF_H
 #define CONF_H
diff --git a/programs/bonnie/bonnie++-1.03a/forkit.h b/programs/bonnie/bonnie++-1.03a/forkit.h
index 6b99d97..a97db5c 100644
--- a/programs/bonnie/bonnie++-1.03a/forkit.h
+++ b/programs/bonnie/bonnie++-1.03a/forkit.h
@@ -1,3 +1,18 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * forkit.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #ifndef FORKIT_H
 #define FORKIT_H
 
diff --git a/programs/bonnie/bonnie++-1.03a/port.h b/programs/bonnie/bonnie++-1.03a/port.h
index 1ad3bd9..91d0a2f 100644
--- a/programs/bonnie/bonnie++-1.03a/port.h
+++ b/programs/bonnie/bonnie++-1.03a/port.h
@@ -1,3 +1,18 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * port.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #ifndef PORT_H
 #define PORT_H
 
diff --git a/programs/bonnie/bonnie++-1.03a/semaphore.h b/programs/bonnie/bonnie++-1.03a/semaphore.h
index f682599..005312c 100644
--- a/programs/bonnie/bonnie++-1.03a/semaphore.h
+++ b/programs/bonnie/bonnie++-1.03a/semaphore.h
@@ -1,3 +1,18 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * semaphore.h
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #ifndef SEMAPHORE_H
 #define SEMAPHORE_H
 
diff --git a/programs/check_file_size_limits/check_file_size_limits.c b/programs/check_file_size_limits/check_file_size_limits.c
index bf54f68..703153f 100644
--- a/programs/check_file_size_limits/check_file_size_limits.c
+++ b/programs/check_file_size_limits/check_file_size_limits.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * check_file_size_limits.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _LARGEFILE64_SOURCE
 #define _GNU_SOURCE
 #include <stdio.h>
diff --git a/programs/create_and_open/create_and_open.c b/programs/create_and_open/create_and_open.c
index 00680e1..a1830f7 100644
--- a/programs/create_and_open/create_and_open.c
+++ b/programs/create_and_open/create_and_open.c
@@ -1,25 +1,20 @@
-/*
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
  * create_and_open.c
  *
  * entry point for fswrk
  *
- * Copyright (C) 2006 Oracle.  All rights reserved.
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
- * 
+ * License version 2 as published by the Free Software Foundation.
+ *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- *
  */
 
 #include <stdio.h>
diff --git a/programs/create_racer/create_racer.c b/programs/create_racer/create_racer.c
index a5a8340..5859c92 100644
--- a/programs/create_racer/create_racer.c
+++ b/programs/create_racer/create_racer.c
@@ -1,20 +1,18 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * create_racer.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
+ * License version 2 as published by the Free Software Foundation.
  *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
  */
 
 #include <stdlib.h>
diff --git a/programs/extend_and_write/extend_and_write.c b/programs/extend_and_write/extend_and_write.c
index 8d59041..3e04e3b 100644
--- a/programs/extend_and_write/extend_and_write.c
+++ b/programs/extend_and_write/extend_and_write.c
@@ -1,29 +1,25 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
  *
- * 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.
+ * extend_and_write.c
  *
- * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- */
-/*
  * Description: This test just creates a file and have it
- * 		extended by the child process.
+ *              extended by the child process.
  *
  *              This test has no cluster relevance.
  *
  * Author     : Mark Fasheh
  *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #include <unistd.h>
diff --git a/programs/extend_and_write/verify.c b/programs/extend_and_write/verify.c
index 0dbb0ba..f22e6a6 100644
--- a/programs/extend_and_write/verify.c
+++ b/programs/extend_and_write/verify.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * verify.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #include <unistd.h>
 #include <stdio.h>
 #include <sys/types.h>
diff --git a/programs/extend_files/truncate_direct.c b/programs/extend_files/truncate_direct.c
index a3a9740..53056b4 100644
--- a/programs/extend_files/truncate_direct.c
+++ b/programs/extend_files/truncate_direct.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * truncate_direct.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define DO_TRUNCATE64
 
 #ifdef DO_TRUNCATE64
diff --git a/programs/extendo/extendo.c b/programs/extendo/extendo.c
index 399a7f0..c588bb2 100644
--- a/programs/extendo/extendo.c
+++ b/programs/extendo/extendo.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * extendo.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 
 #define _LARGEFILE64_SOURCE
 
diff --git a/programs/fill_verify_holes/fill_holes.c b/programs/fill_verify_holes/fill_holes.c
index ce89746..b52bc5f 100644
--- a/programs/fill_verify_holes/fill_holes.c
+++ b/programs/fill_verify_holes/fill_holes.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * fill_holes.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _GNU_SOURCE
 #define _XOPEN_SOURCE 500
 #include <unistd.h>
diff --git a/programs/fill_verify_holes/fill_holes.h b/programs/fill_verify_holes/fill_holes.h
index 4f01a39..2eaffb6 100644
--- a/programs/fill_verify_holes/fill_holes.h
+++ b/programs/fill_verify_holes/fill_holes.h
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * fill_holes.h
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #ifndef FILL_HOLES_H
 #define FILL_HOLES_H
 
diff --git a/programs/fill_verify_holes/punch_holes.c b/programs/fill_verify_holes/punch_holes.c
index 1fb0f2f..81f9eca 100644
--- a/programs/fill_verify_holes/punch_holes.c
+++ b/programs/fill_verify_holes/punch_holes.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * punch_holes.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _GNU_SOURCE
 #define _XOPEN_SOURCE 500
 #include <unistd.h>
diff --git a/programs/fill_verify_holes/reservations.h b/programs/fill_verify_holes/reservations.h
index 8f540fc..196591e 100644
--- a/programs/fill_verify_holes/reservations.h
+++ b/programs/fill_verify_holes/reservations.h
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * reservations.h
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #include <sys/ioctl.h>
 #include <inttypes.h>
 #include <linux/types.h>
diff --git a/programs/fill_verify_holes/verify_holes.c b/programs/fill_verify_holes/verify_holes.c
index ff2a4a0..0597f36 100644
--- a/programs/fill_verify_holes/verify_holes.c
+++ b/programs/fill_verify_holes/verify_holes.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * verify_holes.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _XOPEN_SOURCE 500
 #include <unistd.h>
 #include <errno.h>
diff --git a/programs/flock_tests/flock_unit_test.c b/programs/flock_tests/flock_unit_test.c
index ada2982..7f87f00 100644
--- a/programs/flock_tests/flock_unit_test.c
+++ b/programs/flock_tests/flock_unit_test.c
@@ -1,20 +1,18 @@
-/*
- * Copyright (C) 2007 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * flock_unit_test.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
+ * License version 2 as published by the Free Software Foundation.
  *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
  */
 
 #include <stdlib.h>
diff --git a/programs/forkwriter/forkwriter.c b/programs/forkwriter/forkwriter.c
index 6515841..6a5fa80 100644
--- a/programs/forkwriter/forkwriter.c
+++ b/programs/forkwriter/forkwriter.c
@@ -1,35 +1,29 @@
-/*
- * Copyright (C) 2007 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
  *
- * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- */
-/*
- * Program:	forkwriter.c
+ * forkwriter.c
  *
  * Description: This test launches forks P processes each of which create
- * 		a file with the same name and issue few writes of few bytes each
- * 		before closing the file and exiting. The parent process meanwhile
- * 		waits for the childs to all die before launching the next set
- * 		of P processes. The parent process loops L times.
+ *              a file with the same name and issue few writes of few bytes each
+ *              before closing the file and exiting. The parent process meanwhile
+ *              waits for the childs to all die before launching the next set
+ *              of P processes. The parent process loops L times.
  *
  *              This test really has no cluster relevance if running in 
  *              stand-alone mode. Needs a script to coordinate cluster test.
  *
  * Author     : Sunil Mushran
- * 
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #include <unistd.h>
diff --git a/programs/fsx/fsx-linux.c b/programs/fsx/fsx-linux.c
index e278138..a542053 100644
--- a/programs/fsx/fsx-linux.c
+++ b/programs/fsx/fsx-linux.c
@@ -1,15 +1,27 @@
-/*
- *	Copyright (C) 1991, NeXT Computer, Inc.  All Rights Reserverd.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * fsx-linux.c
+ *
+ *      Copyright (C) 1991, NeXT Computer, Inc.  All Rights Reserverd.
+ *
+ *      File:   fsx.c
+ *      Author: Avadis Tevanian, Jr.
  *
- *	File:	fsx.c
- *	Author:	Avadis Tevanian, Jr.
+ *      File system exerciser. 
  *
- *	File system exerciser. 
+ *      Rewritten 8/98 by Conrad Minshall.
  *
- *	Rewritten 8/98 by Conrad Minshall.
+ *      Small changes to work under Linux -- davej at suse.de
  *
- *	Small changes to work under Linux -- davej at suse.de
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
  *
+ * 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.
  */
 
 #define _GNU_SOURCE
diff --git a/programs/inline-data/inline-data.c b/programs/inline-data/inline-data.c
index 701796b..78510de 100644
--- a/programs/inline-data/inline-data.c
+++ b/programs/inline-data/inline-data.c
@@ -1,4 +1,8 @@
-/*
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * inline-data.c
+ *
  * Verify I/O to/from files small enough to hold inline data. Includes
  * some tests intended to force an inode out to an extent list.
  *
@@ -20,6 +24,17 @@
  *
  * XXX: This could easily be turned into an mpi program, where a
  * second node does the verification step.
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #define _XOPEN_SOURCE 600
diff --git a/programs/inline-data/inline-dirs.c b/programs/inline-data/inline-dirs.c
index df9c1b6..4caf284 100644
--- a/programs/inline-data/inline-dirs.c
+++ b/programs/inline-data/inline-dirs.c
@@ -1,10 +1,25 @@
-/*
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * inline-dirs.c
+ *
  * Verify inline directory data.
  *
  * All tests read back the entire directory to verify correctness.
  *
  * XXX: This could easily be turned into an mpi program, where a
  * second node does the verification step.
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #define _XOPEN_SOURCE 600
diff --git a/programs/inline-data/reservations.h b/programs/inline-data/reservations.h
index 8f540fc..196591e 100644
--- a/programs/inline-data/reservations.h
+++ b/programs/inline-data/reservations.h
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * reservations.h
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #include <sys/ioctl.h>
 #include <inttypes.h>
 #include <linux/types.h>
diff --git a/programs/iozone/iozone3_263/src/current/fileop.c b/programs/iozone/iozone3_263/src/current/fileop.c
index e7a52a6..4bb5604 100644
--- a/programs/iozone/iozone3_263/src/current/fileop.c
+++ b/programs/iozone/iozone3_263/src/current/fileop.c
@@ -1,13 +1,7 @@
-/*
- * Author: Don Capps
- * 3/13/2006
- * Copyright:  (2006)
- *   You are free to distribute and use this benchmark, for free.
- * You are not permitted to distribute modified versions, or
- * borrow code from this project to create proprietary products
- * or competitive benchmarks. Any product that contains any
- * of this code will be considered a derivative work and will
- * be the sole property of me.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * fileop.c
  *
   fileop [-f X ]|[-l # -u #] [-s Y] [-t] [-v] [-e] [-b] [-w]
        -f # Force factor. X^3 files will be created and removed.
@@ -37,6 +31,14 @@
  *
  * Each file will be created, and then 1 byte is written to the file.
  *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #include <sys/types.h>
diff --git a/programs/iozone/iozone3_263/src/current/iozone.c b/programs/iozone/iozone3_263/src/current/iozone.c
index 8cf433b..c31fa6d 100644
--- a/programs/iozone/iozone3_263/src/current/iozone.c
+++ b/programs/iozone/iozone3_263/src/current/iozone.c
@@ -1,3 +1,10 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * iozone.c
+ *
+*/
+
 /************************************************************************/
 /*	Original Author: 						*/
 /*		William Norcott (wnorcott at us.oracle.com)		*/
@@ -48,6 +55,16 @@
 /*  Hint: Type make    (it will give you a list of valid targets)	*/
 /* 									*/
 /************************************************************************/
+/*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
 
 
 /* The version number */
@@ -19202,8 +19219,8 @@ become_client()
 	sscanf(cnc->c_Kplus_flag,"%d",&cc.c_Kplus_flag);
 	sscanf(cnc->c_compute_time,"%f",&cc.c_compute_time);
 
-	strcpy(write_traj_filename,cc.c_write_traj_filename);
-	strcpy(read_traj_filename,cc.c_read_traj_filename);
+	strcpy(write_traj_iozone.cc.c_write_traj_filename);
+	strcpy(read_traj_iozone.cc.c_read_traj_filename);
 	numrecs64 = cc.c_numrecs64;
 	reclen = cc.c_reclen;
 	testnum = cc.c_testnum;
diff --git a/programs/iozone/iozone3_263/src/current/libasync.c b/programs/iozone/iozone3_263/src/current/libasync.c
index ce629c4..10e4e77 100644
--- a/programs/iozone/iozone3_263/src/current/libasync.c
+++ b/programs/iozone/iozone3_263/src/current/libasync.c
@@ -1,6 +1,8 @@
-
-
-/* 
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * libasync.c
+ *
  * Library for Posix async read operations with hints.
  * Author: Don Capps
  * Company: Hewlett Packard
@@ -92,8 +94,18 @@
  * 	The async_write() is intended to enhance the performance of 
  *	initial writes to a file. This is the slowest case in the write
  *	path as it must perform meta-data allocations and wait.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
+
 #include <sys/types.h>
 #include <aio.h>
 #if defined(solaris) || defined(linux) || defined(SCO_Unixware_gcc)
diff --git a/programs/iozone/iozone3_263/src/current/libbif.c b/programs/iozone/iozone3_263/src/current/libbif.c
index 7a1042f..f4eb795 100644
--- a/programs/iozone/iozone3_263/src/current/libbif.c
+++ b/programs/iozone/iozone3_263/src/current/libbif.c
@@ -1,14 +1,25 @@
-/* 
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * libbif.c
+ *
  * Here is a very simple set of routines to write an Excel worksheet 
  * Microsoft BIFF format. The Excel version is set to 2.0 so that it 
  * will work with all versions of Excel.
  *
  * Author: Don Capps 1999 (Hewlett Packard)
- */
-
-/* 
+ *
  * Note: rows and colums should not exceed 255 or this code will 
  * act poorly
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #include <sys/types.h>
diff --git a/programs/lock_grab/lock_grab.c b/programs/lock_grab/lock_grab.c
index c9bb3e2..b625ed4 100644
--- a/programs/lock_grab/lock_grab.c
+++ b/programs/lock_grab/lock_grab.c
@@ -1,27 +1,24 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * lock_grab.c
+ *
+ * Description : Will grab locks and hold them to add some stress to
+ *               the OCFS2 DLM.
+ * Author      : Joel Becker
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
+ * License version 2 as published by the Free Software Foundation.
  *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- */
-/*
- *
- * Description : Will grab locks and hold them to add some stress to
- *               the OCFS2 DLM.
- * Author      : Joel Becker
  */
+
 #include <stdio.h>
 #include <string.h>
 #include <stdlib.h>
diff --git a/programs/logwriter/enospc_test.c b/programs/logwriter/enospc_test.c
index 1141425..9ff1879 100644
--- a/programs/logwriter/enospc_test.c
+++ b/programs/logwriter/enospc_test.c
@@ -1,20 +1,18 @@
-/*
- * Copyright (C) 2007 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * enospc_test.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
+ * License version 2 as published by the Free Software Foundation.
  *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
  */
 
 #include <stdio.h>
diff --git a/programs/logwriter/logwriter.c b/programs/logwriter/logwriter.c
index ee7a39a..7629341 100644
--- a/programs/logwriter/logwriter.c
+++ b/programs/logwriter/logwriter.c
@@ -1,31 +1,27 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
  *
- * 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.
+ * logwriter.c
  *
- * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- */
-/*
  * Description: This test will open a file and write to it in specific 
- * 		intervals. It takes two arguments, interval and number of
- * 		writes it will perform.
+ *              intervals. It takes two arguments, interval and number of
+ *              writes it will perform.
  *
  *              This test really has no cluster relevance if running in 
  *              stand-alone mode. Needs a script to coordinate cluster test.
  *
  * Author     : Mark Fasheh
- * 
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #include <unistd.h>
diff --git a/programs/lvb_torture/lvb_torture.c b/programs/lvb_torture/lvb_torture.c
index 1459849..2c1dbcd 100644
--- a/programs/lvb_torture/lvb_torture.c
+++ b/programs/lvb_torture/lvb_torture.c
@@ -1,24 +1,22 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * lvb_torture.c
+ *
+ * My first MPI program. Ripped from write_append_truncate.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
+ * License version 2 as published by the Free Software Foundation.
  *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- */
-/*
- * My first MPI program. Ripped from write_append_truncate.c
  */
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdarg.h>
diff --git a/programs/mmap_test/mmap_test.c b/programs/mmap_test/mmap_test.c
index 9edbb58..aba7e81 100644
--- a/programs/mmap_test/mmap_test.c
+++ b/programs/mmap_test/mmap_test.c
@@ -1,22 +1,8 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
  *
- * 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.
+ * mmap_test.c
  *
- * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- */
-/*
  * Description: This is a simple test to see if mmap behaves correctly at 
  *              the end of the file's size.  It first writes up to the 
  *              existing end of the file.  This should work.  Then it writes 
@@ -25,7 +11,17 @@
  *              This test really has no cluster relevance.
  *
  * Author     : Mark Fasheh
- * 
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #include <stdio.h>
diff --git a/programs/mmap_truncate/mmap_truncate.c b/programs/mmap_truncate/mmap_truncate.c
index 1936e08..0068cf0 100644
--- a/programs/mmap_truncate/mmap_truncate.c
+++ b/programs/mmap_truncate/mmap_truncate.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * mmap_truncate.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _XOPEN_SOURCE 500
 #include <unistd.h>
 #include <errno.h>
diff --git a/programs/multi_node_mmap/multi_mmap.c b/programs/multi_node_mmap/multi_mmap.c
index 1ee4dd2..e47a5d0 100644
--- a/programs/multi_node_mmap/multi_mmap.c
+++ b/programs/multi_node_mmap/multi_mmap.c
@@ -1,20 +1,7 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
  *
- * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
+ * multi_mmap.c
  *
  * XXX: Future improvements:
  *      Allow one reader, multiple writers
@@ -22,6 +9,17 @@
  *      Fill/Verify patterns in other interesting orders:
  *        -backwards,
  *        -start at block X
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #include <stdio.h>
diff --git a/programs/open_delete/open_delete.c b/programs/open_delete/open_delete.c
index e89a2a8..0d6cf81 100644
--- a/programs/open_delete/open_delete.c
+++ b/programs/open_delete/open_delete.c
@@ -1,20 +1,7 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
  *
- * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
+ * open_delete.c
  *
  * XXX: Future improvements:
  *      Allow one reader, multiple writers
@@ -22,6 +9,17 @@
  *      Fill/Verify patterns in other interesting orders:
  *        -backwards,
  *        -start at block X
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
 
 #include <stdio.h>
diff --git a/programs/postmark/postmark-1_5.c b/programs/postmark/postmark-1_5.c
index b806473..58b2dc3 100644
--- a/programs/postmark/postmark-1_5.c
+++ b/programs/postmark/postmark-1_5.c
@@ -1,4 +1,8 @@
-/*
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * postmark-1_5.c
+ *
 Written by Jeffrey Katcher under contract to Network Appliance.
 Copyright (C) 1997-2001
 Network Appliance, Inc.
@@ -46,6 +50,15 @@ Versions:
       it retains much of the performance of the previous implementation. 
       URL: http://www.math.keio.ac.jp/~matumoto/emt.html
       Also changed MB definition to 1024KB, tweaked show command
+*
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
 */
 
 #include <stdio.h>
diff --git a/programs/reserve_space/reservations.h b/programs/reserve_space/reservations.h
index 8f540fc..196591e 100644
--- a/programs/reserve_space/reservations.h
+++ b/programs/reserve_space/reservations.h
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * reservations.h
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #include <sys/ioctl.h>
 #include <inttypes.h>
 #include <linux/types.h>
diff --git a/programs/reserve_space/reserve_space.c b/programs/reserve_space/reserve_space.c
index 9e91b09..733de83 100644
--- a/programs/reserve_space/reserve_space.c
+++ b/programs/reserve_space/reserve_space.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * reserve_space.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _LARGEFILE64_SOURCE
 #define _GNU_SOURCE
 
diff --git a/programs/sendfiletest/sendfiletest.c b/programs/sendfiletest/sendfiletest.c
index 5b4f5cc..38dcd8c 100644
--- a/programs/sendfiletest/sendfiletest.c
+++ b/programs/sendfiletest/sendfiletest.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * sendfiletest.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <fcntl.h>
diff --git a/programs/splice/splice_read.c b/programs/splice/splice_read.c
index ad4af0f..47213cb 100644
--- a/programs/splice/splice_read.c
+++ b/programs/splice/splice_read.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * splice_read.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 /* splice_read.c */
 #include "splice_test.h"
 
diff --git a/programs/splice/splice_test.h b/programs/splice/splice_test.h
index 5113bbb..e62bf4e 100644
--- a/programs/splice/splice_test.h
+++ b/programs/splice/splice_test.h
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * splice_test.h
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _GNU_SOURCE
 #include <stdio.h>
 #include <stdlib.h>
diff --git a/programs/splice/splice_write.c b/programs/splice/splice_write.c
index 5c92bbb..f048216 100644
--- a/programs/splice/splice_write.c
+++ b/programs/splice/splice_write.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * splice_write.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 /* splice_write.c */
 #include "splice_test.h"
 
diff --git a/programs/truncate/ocfs2-tools/test_truncate.c b/programs/truncate/ocfs2-tools/test_truncate.c
index 5593b5e..ac3e31f 100644
--- a/programs/truncate/ocfs2-tools/test_truncate.c
+++ b/programs/truncate/ocfs2-tools/test_truncate.c
@@ -1,36 +1,29 @@
-/*
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
  * test_truncate.c
  *
  * test file for ocfs2_truncate
  *
- * Copyright (C) 2007 Oracle.  All rights reserved.
+ * This file is used to test whether ocfs2_truncate can truncate
+ * a file to a specified size.
+ *
+ * An additional option "c" is to create a file before we test truncating.
+ * We can give the tree depth so that the file can be created with the
+ * specified tree depth.
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
+ * License version 2 as published by the Free Software Foundation.
  *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- *
  */
 
-/*
- * This file is used to test whether ocfs2_truncate can truncate
- * a file to a specified size.
- *
- * An additional option "c" is to create a file before we test truncating.
- * We can give the tree depth so that the file can be created with the
- * specified tree depth.
- *
- */
 #include <stdio.h>
 #include <unistd.h>
 #include <signal.h>
diff --git a/programs/truncate/truncate.c b/programs/truncate/truncate.c
index 119d278..7755ca6 100644
--- a/programs/truncate/truncate.c
+++ b/programs/truncate/truncate.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * truncate.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define DO_TRUNCATE64
 
 #ifdef DO_TRUNCATE64
diff --git a/programs/ttest/ttest.c b/programs/ttest/ttest.c
index 4a46013..c8dfb60 100644
--- a/programs/ttest/ttest.c
+++ b/programs/ttest/ttest.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * ttest.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #define _LARGEFILE64_SOURCE
 #define _XOPEN_SOURCE 600
 
diff --git a/programs/tunefs-test/remove-slot/remove_slot.c b/programs/tunefs-test/remove-slot/remove_slot.c
index 34847be..7db5a3b 100644
--- a/programs/tunefs-test/remove-slot/remove_slot.c
+++ b/programs/tunefs-test/remove-slot/remove_slot.c
@@ -1,36 +1,29 @@
-/*
- * test_remove.c
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * remove_slot.c
  *
  * test file for removing slots.
  *
- * Copyright (C) 2007 Oracle.  All rights reserved.
+ * This file is used to create some boudary situation to test whether
+ * tunefs.ocfs2 can work OK with removing slots.
+ *
+ * When we have orphan files or have some blocks allocated in truncate log
+ * or local alloc, we can't remove the slots, so the option CREATE_ORPHAN_FILE,
+ * CREATE_TRUNCATE_LOG and CREATE_LOCAL_ALLOC are used to check it.
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
+ * License version 2 as published by the Free Software Foundation.
  *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
- *
  */
 
-/*
- * This file is used to create some boudary situation to test whether
- * tunefs.ocfs2 can work OK with removing slots.
- *
- * When we have orphan files or have some blocks allocated in truncate log
- * or local alloc, we can't remove the slots, so the option CREATE_ORPHAN_FILE,
- * CREATE_TRUNCATE_LOG and CREATE_LOCAL_ALLOC are used to check it.
- *
- */
 #include <stdio.h>
 #include <unistd.h>
 #include <signal.h>
diff --git a/programs/write_append_truncate/write_append_truncate.c b/programs/write_append_truncate/write_append_truncate.c
index 7bfb121..96233b2 100644
--- a/programs/write_append_truncate/write_append_truncate.c
+++ b/programs/write_append_truncate/write_append_truncate.c
@@ -1,5 +1,7 @@
-/* -*- mode: c; c-basic-offset: 8; indent-tabs-mode: nil; -*-
- * vim:expandtab:shiftwidth=8:tabstop=8:
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * write_append_truncate.c
  *
  * Each loop does 3 things:
  *   - truncate file to zero (not via ftruncate though, to test O_APPEND)
@@ -15,7 +17,19 @@
  * run:     mpirun -np 2 -machlist <hostlist file> write_append_truncate <file>
  *  or:     pdsh -w <two hosts> write_append_truncate <file>
  *  or:     prun -n 2 [-N 2] write_append_truncate <file>
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
  */
+
 #include <stdlib.h>
 #include <stdio.h>
 #include <stdarg.h>
diff --git a/programs/write_torture/write_torture.c b/programs/write_torture/write_torture.c
index de5abcf..fef41b9 100644
--- a/programs/write_torture/write_torture.c
+++ b/programs/write_torture/write_torture.c
@@ -1,3 +1,20 @@
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * write_torture.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public
+ * License version 2 as published by the Free Software Foundation.
+ *
+ * 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.
+ */
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
diff --git a/utilities/mpi-run-parts/mpi-run-parts.c b/utilities/mpi-run-parts/mpi-run-parts.c
index 05edb9e..b30531c 100644
--- a/utilities/mpi-run-parts/mpi-run-parts.c
+++ b/utilities/mpi-run-parts/mpi-run-parts.c
@@ -1,21 +1,20 @@
-/*
- * Copyright (C) 2006 Oracle.  All rights reserved.
+/* -*- mode: c; c-basic-offset: 8; -*-
+ * vim: noexpandtab sw=8 ts=8 sts=0:
+ *
+ * mpi-run-parts.c
+ *
+ * Copyright (C) 2004, 2008 Oracle.  All rights reserved.
  *
  * 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.
+ * License version 2 as published by the Free Software Foundation.
  *
  * 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., 59 Temple Place - Suite 330,
- * Boston, MA 021110-1307, USA.
  */
+
 #include <sys/types.h>
 #include <sys/stat.h>
 #include <sys/wait.h>
-- 
1.5.5




More information about the Ocfs2-tools-devel mailing list