Filesystem Licensing

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
kab000m
Posts: 2
Joined: Mon Apr 14, 2008 6:25 pm

Filesystem Licensing

Post by kab000m »

Hey guys. Thanks for providing such a great site. I've found the information really helpful.

I'm hoping you could help me with a small problem. I was thinking of using IBM's Journaled File System (link) for the toy operating system I'm working on.

IBM released a version for linux under the GPL a while ago.

I found most of the relevent information via wikipedia and google that I need to impliment it, but I can't figure out whether I am restricted to using it in GPL'd code.

For example if I wrote my own JFS filesystem driver using code I had written myself and wanted to distribute it under a BSD style license would this be breaking the terms of the GPL?

As far as I am aware of the GPL only seems to apply to code but I find this issue confusing. Even if the layout of the filesystem isn't covered by the GPL, if my code uses the same data structures then is this also breaking the terms?

Enlighten me please. :?
pietro10
Posts: 12
Joined: Wed Feb 13, 2008 10:06 pm

Re: Filesystem Licensing

Post by pietro10 »

kab000m wrote:Hey guys. Thanks for providing such a great site. I've found the information really helpful.

I'm hoping you could help me with a small problem. I was thinking of using IBM's Journaled File System (link) for the toy operating system I'm working on.

IBM released a version for linux under the GPL a while ago.

I found most of the relevent information via wikipedia and google that I need to impliment it, but I can't figure out whether I am restricted to using it in GPL'd code.

For example if I wrote my own JFS filesystem driver using code I had written myself and wanted to distribute it under a BSD style license would this be breaking the terms of the GPL?

As far as I am aware of the GPL only seems to apply to code but I find this issue confusing. Even if the layout of the filesystem isn't covered by the GPL, if my code uses the same data structures then is this also breaking the terms?

Enlighten me please. :?
It would only break the GPL if you used IBM's code. If everything is your own, then it would not break anything. This is why my implementation of ext2 has zero lines of Linux code! :-P
PGOS. It's my hand-written OS. Deal with it.
kab000m
Posts: 2
Joined: Mon Apr 14, 2008 6:25 pm

Post by kab000m »

Thanks. :D
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Re: Filesystem Licensing

Post by Solar »

pietro10 wrote:It would only break the GPL if you used IBM's code. If everything is your own, then it would not break anything.
Legally this is a bit fuzzy. A "GPL violation" case could be created if you use IBM's code as reference (i.e., not using it verbatim but as an information source).
Every good solution is obvious once you've found it.
User avatar
Brynet-Inc
Member
Member
Posts: 2426
Joined: Tue Oct 17, 2006 9:29 pm
Libera.chat IRC: brynet
Location: Canada
Contact:

Post by Brynet-Inc »

I don't agree Solar, often the BSD developers use Linux drivers as a reference when no documentation exists, or is of poor quality..

It's legal, it's a method of reverse engineering... as you're not copying the code, you're learning from it.
Image
Twitter: @canadianbryan. Award by smcerm, I stole it. Original was larger.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

I am talking from a de jure standpoint (what constitutes a "derived work"), not how it is lived de facto. That none of the BSD projects has been sued so far does not mean it won't happen ever. And even if you are right, the court proceedings to get your right can drive a private person into bankruptcy.

Sorry but regarding legal risks I'm paranoid.
Every good solution is obvious once you've found it.
User avatar
JamesM
Member
Member
Posts: 2935
Joined: Tue Jul 10, 2007 5:27 am
Location: York, United Kingdom
Contact:

Post by JamesM »

Solar wrote:I am talking from a de jure standpoint (what constitutes a "derived work"), not how it is lived de facto. That none of the BSD projects has been sued so far does not mean it won't happen ever. And even if you are right, the court proceedings to get your right can drive a private person into bankruptcy.

Sorry but regarding legal risks I'm paranoid.
But of course the prosecution then have the problem of proving that you read the original source - if you wrote your own version, there should be no way they could ever prove you even looked at the original GPL'd code.
User avatar
Solar
Member
Member
Posts: 7615
Joined: Thu Nov 16, 2006 12:01 pm
Location: Germany
Contact:

Post by Solar »

You'd be surprised what sleazy lawyers might argue as being "similarities in design that cannot have been arisen by mere chance"...

If "they" find a judge and court accepting their lawsuit, lawyer costs alone (calculated in percentage of value claimed) can drive you into bancruptcy long before it's decised that you are innocent and that the opposing party has to pay all expenses.

So you will settle out of court. Most likely by selling all your IP to the claimant.

Agreed this is a worst-case scenario, but it has happened in the cutthroat corporate world, and it might just as well happen in GPL land if someone gets on a rampage. Again agreed, a filesystem driver for a hobby OS is an unlikely target for such practice.

This whole "blurry" legalese is the reason PDCLib is developed without looking at Newlib or GLibC, ever...
Every good solution is obvious once you've found it.
User avatar
bewing
Member
Member
Posts: 1401
Joined: Wed Feb 07, 2007 1:45 pm
Location: Eugene, OR, US

Post by bewing »

Solar is basically right, but it is usually possible to rest your side of the case on the first day of the trial, to end the financial bleeding from the trial itself. The main reason that trials cost so much is that people try so very hard to win. But in the end, you have to trust the judge to make a rational decision. If it goes against you, then you declare a BK, if necessary. It's an unlikely scenario, and you simply have to live with the risk.
Post Reply