xfs-masters
[Top] [All Lists]

[PATCH 6/6] fsx: Update copyright statement to be the APSL 2.0

To: xfs-masters@xxxxxxxxxxx
Subject: [PATCH 6/6] fsx: Update copyright statement to be the APSL 2.0
From: "Theodore Ts'o" <tytso@xxxxxxx>
Date: Tue, 12 May 2009 12:14:25 -0400
Cc: "Theodore Ts'o" <tytso@xxxxxxx>, akpm@xxxxxxxxxxxxxxxxxxxx, Dave Jones <davej@xxxxxxxxxx>
In-reply-to: <1242144865-6967-5-git-send-email-tytso@xxxxxxx>
References: <1242144865-6967-1-git-send-email-tytso@xxxxxxx> <1242144865-6967-2-git-send-email-tytso@xxxxxxx> <1242144865-6967-3-git-send-email-tytso@xxxxxxx> <1242144865-6967-4-git-send-email-tytso@xxxxxxx> <1242144865-6967-5-git-send-email-tytso@xxxxxxx>
The fsx test program was originally written by Avadis Tevanian, Jr.,
at NeXT Computer, and carried a Copyright 1991, "All Rights Reserved"
statement.  It was later rewritten and released by Conrad Minshall at
Apple in 1998.  Those were simpler times, when people didn't really
worried about the lack of a copyright permission statement.

NeXT Computer was acquired by Apple Computer in 1997, and so Jordan
Hubbard, who was an employee of Apple Computer, was (presumably)
empowered to officially release the fsx source under the Apple Public
Source License (APSL) 2.0.

The lineage of this particular version of fsx.c comes from port of the
original Conrad Minshall code, which was fixed up by David Jones, made
its way into Andrew Morton's ext3tools, and eventually was sucked into
xfsprogs.  A more detailed version of the history and lineage of fsx
can be found here:

        http://www.codemonkey.org.uk/projects/fsx/

The "original" bits of fsx are substantially unchanged from the
FreeBSD variant of fsx which is released under the APSL 2.0.  The APSL
is an open source license, and while it is not clear was the intent of
those people who published various changes and enhancements to fsx,
presumably they didn't mean "All Rights Reserved Copyright NeXT
Computer".  In any case, splicing the the APSL permission statement
seems reasonable for the original bits of fsx, and seems perfectly
justifiable.

There is also a version of fsx that is officially released by Apple
at:

        http://fstools.macosforge.org/trac/wiki/FsxTool

this version of fsx is released has copyright label "Copyright
1998-2009 Apple, Inc.", and is released under the APSL 2.0.  It has
the Apple-authored changes, and is missing some of the enhancement
that came from the FreeBSD fork of fsx.c.  This is probably the
cloesest thing to "upstream" for fsx.c, but the macosforge mailing
list is totally silent.  It might be worthwhile to see if they will be
interested in taking contributions from the non-Apple forks of fsx.
In any case, this additional evidence that the "core" original bits of
fsx are available under an OSS license, specifically the APSL 2.0.

As far as I can determine, the bits of functionality which were added
to the xfsprogs fork of fsx-11, that are not in the FreeBSD fork, and
which we don't have clear copyright ownership information and
licensing intent, are:

*) The flush option (-f)
*) The prealloc option (-x)
*) The do_fsync option (-y)
*) The AIO option (-A)
*) The O_DIRECT option (-Z)

According to the SCM logs, the AIO and O_DIRECT changes came from
"outside", and were merged into xfsprogs in March 18, 2004.  These
appear to have come from Andrew Morton's ext3tools fork of fsx.  The
do_fsync option also appears to have come from Andrew Morton's
ext3tools version of fsx.

It appears that the flush option was merged in by Allan Ranall from
SGI from the "relevant CXFSQA tests", and the prealloc option was
added by the "fsgqa" pseudo-user (presumably from SGI) on August 1,
2003.

So assuming we can track down and get permission from SGI for the
flush and prealloc options, and Andrew Morton is willing to sign off
on releasing his additions to the ext3tools' version of fsx under an
APSL-compatible license, we may have finally dealt with all of the
copyright problems.

n.b.: The above is not Legal Advice; I am not a lawyer, and I do not
play one TV; this is just my best guess/analysis of the situation.
People who are uncomfortable with the licensing situation should have
a Real Attorney check my results; I have supplied enough pointers that
it should be relatively easy to pull the sources from the various
forks of fsx.

Signed-off-by: "Theodore Ts'o" <tytso@xxxxxxx>
Cc: akpm@xxxxxxxxxxxxxxxxxxxx
Cc: Dave Jones <davej@xxxxxxxxxx>
---
 ltp/fsx.c |   22 +++++++++++++++++++++-
 1 files changed, 21 insertions(+), 1 deletions(-)

diff --git a/ltp/fsx.c b/ltp/fsx.c
index 2ef9c0f..db067fc 100644
--- a/ltp/fsx.c
+++ b/ltp/fsx.c
@@ -1,5 +1,23 @@
 /*
- *     Copyright (C) 1991, NeXT Computer, Inc.  All Rights Reserverd.
+ * Copyright (c) 1998-2001 Apple Computer, Inc. All rights reserved.
+ *
+ * @APPLE_LICENSE_HEADER_START@
+ *
+ * The contents of this file constitute Original Code as defined in and
+ * are subject to the Apple Public Source License Version 2.0 (the
+ * "License").  You may not use this file except in compliance with the
+ * License.  Please obtain a copy of the License at
+ * http://www.opensource.apple.com/apsl/ and read it before using this file.
+ *
+ * This Original Code and all software distributed under the License are
+ * distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, EITHER
+ * EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
+ * INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.  Please see the
+ * License for the specific language governing rights and limitations
+ * under the License.
+ *
+ * @APPLE_LICENSE_HEADER_END@
  *
  *     File:   fsx.c
  *     Author: Avadis Tevanian, Jr.
@@ -11,6 +29,8 @@
  *     Small changes to work under Linux -- davej.
  *
  *     Checks for mmap last-page zero fill.
+ *
+ *     Updated license to APSL 2.0, 2004/7/27 - Jordan Hubbard
  */
 
 #include "global.h"
-- 
1.6.3.rc4.1.g3e14.dirty

<Prev in Thread] Current Thread [Next in Thread>