LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* how much license information inside the kernel ?
@ 2008-10-30 10:54 devzero
  2008-10-30 14:24 ` Jörn Engel
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: devzero @ 2008-10-30 10:54 UTC (permalink / raw)
  To: linux-kernel

hi, 

i found that there is a LOT of repeating licensing information in the kernel.

for me, 

find ./linux-2.6.27 -type f -exec cat {} \; |egrep "free software|GNU General Public License|Free Software Foundation|version 2 of the License|distributed in the hope|WITHOUT ANY WARRANTY|FITNESS FOR A PARTICULAR"

gives a file sized ~3.5M

That`s more than 1% of the kernel source.

What about the idea to shorten that licening information to a minimum , e.g. by shrinking that to a single, catchy line ,  linking to a special licensing file like COPYING or linking to the FSF website ?

please no flames, i know this idea could be pure dynamite for some people - but i thought 3.5M is worth this mail.

regards
roland

ps:
i`m not sure if that has been discussed already, but i didn`t find that in the archive. please ignore, otherwise.
________________________________________________________________________
n 5 Schritten zur eigenen Homepage. Jetzt Domain sichern und gestalten! 
Nur 3,99 EUR/Monat! http://www.maildomain.web.de/?mc=021114


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how much license information inside the kernel ?
  2008-10-30 10:54 how much license information inside the kernel ? devzero
@ 2008-10-30 14:24 ` Jörn Engel
  2008-10-30 18:47 ` Chris Snook
  2008-11-02 16:39 ` Pavel Machek
  2 siblings, 0 replies; 7+ messages in thread
From: Jörn Engel @ 2008-10-30 14:24 UTC (permalink / raw)
  To: devzero; +Cc: linux-kernel

On Thu, 30 October 2008 11:54:57 +0100, devzero@web.de wrote:
> 
> i found that there is a LOT of repeating licensing information in the kernel.
> 
> for me, 
> 
> find ./linux-2.6.27 -type f -exec cat {} \; |egrep "free software|GNU General Public License|Free Software Foundation|version 2 of the License|distributed in the hope|WITHOUT ANY WARRANTY|FITNESS FOR A PARTICULAR"
> 
> gives a file sized ~3.5M
> 
> That`s more than 1% of the kernel source.

Scary, isn't it?

One of the problems is that corporate lawyers require the full GPL
preample in any source file.  As a result, a lot of developers inside
companies cannot publish code without it.  Whether that makes any sense
is anyone's guess.  But it doesn't cause much harm either, so better
leave the bloat where it is.

Jörn

-- 
Time? What's that? Time is only worth what you do with it.
-- Theo de Raadt

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how much license information inside the kernel ?
  2008-10-30 10:54 how much license information inside the kernel ? devzero
  2008-10-30 14:24 ` Jörn Engel
@ 2008-10-30 18:47 ` Chris Snook
  2008-11-02 16:39 ` Pavel Machek
  2 siblings, 0 replies; 7+ messages in thread
From: Chris Snook @ 2008-10-30 18:47 UTC (permalink / raw)
  To: devzero; +Cc: linux-kernel

devzero@web.de wrote:
> hi,
> 
> i found that there is a LOT of repeating licensing information in the
> kernel.
> 
> for me,
> 
> find ./linux-2.6.27 -type f -exec cat {} \; |egrep "free software|GNU
> General Public License|Free Software Foundation|version 2 of the
> License|distributed in the hope|WITHOUT ANY WARRANTY|FITNESS FOR A
> PARTICULAR"
> 
> gives a file sized ~3.5M
> 
> That`s more than 1% of the kernel source.
> 
> What about the idea to shorten that licening information to a minimum
> , e.g. by shrinking that to a single, catchy line ,  linking to a
> special licensing file like COPYING or linking to the FSF website ?
> 
> please no flames, i know this idea could be pure dynamite for some
> people - but i thought 3.5M is worth this mail.
> 
> regards roland
> 
> ps: i`m not sure if that has been discussed already, but i didn`t
> find that in the archive. please ignore, otherwise.

It may be 3.5 MB uncompressed, but disk space is cheap, and repeated 
strings compress extremely well to save bandwidth.  If you work with the 
kernel source enough for this to be an issue, you should use git. 
You'll download these license headers once, and never again unless the 
copyright info gets changed by a patch.  From a technical perspective, 
the problem isn't nearly as bad as it looks, and it keeps the lawyers 
happy, so it's really not worth messing with.  There's plenty of 
lower-hanging fruit in unifying drivers for similar hardware, unifying 
32-bit and 64-bit architectures, and other things that make the code 
more maintainable.

-- Chris

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how much license information inside the kernel ?
  2008-10-30 10:54 how much license information inside the kernel ? devzero
  2008-10-30 14:24 ` Jörn Engel
  2008-10-30 18:47 ` Chris Snook
@ 2008-11-02 16:39 ` Pavel Machek
  2 siblings, 0 replies; 7+ messages in thread
From: Pavel Machek @ 2008-11-02 16:39 UTC (permalink / raw)
  To: devzero; +Cc: linux-kernel

On Thu 2008-10-30 11:54:57, devzero@web.de wrote:
> hi, 
> 
> i found that there is a LOT of repeating licensing information in the kernel.
> 
> for me, 
> 
> find ./linux-2.6.27 -type f -exec cat {} \; |egrep "free software|GNU General Public License|Free Software Foundation|version 2 of the License|distributed in the hope|WITHOUT ANY WARRANTY|FITNESS FOR A PARTICULAR"
> 
> gives a file sized ~3.5M

Now gzip it :-).

									Pavel
-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how much license information inside the kernel ?
       [not found] ` <btOjA-7Sx-9@gated-at.bofh.it>
@ 2008-11-03 21:37   ` Bodo Eggert
  0 siblings, 0 replies; 7+ messages in thread
From: Bodo Eggert @ 2008-11-03 21:37 UTC (permalink / raw)
  To: Pavel Machek, devzero, linux-kernel

Pavel Machek <pavel@suse.cz> wrote:
> On Thu 2008-10-30 11:54:57, devzero@web.de wrote:

>> i found that there is a LOT of repeating licensing information in the kernel.
>> 
>> for me,
>> 
>> find ./linux-2.6.27 -type f -exec cat {} \; |egrep "free software|GNU General
>> Public License|Free Software Foundation|version 2 of the License|distributed
>> in the hope|WITHOUT ANY WARRANTY|FITNESS FOR A PARTICULAR"
>> 
>> gives a file sized ~3.5M
> 
> Now gzip it :-).

Now multiply it by the number of users.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how much license information inside the kernel ?
@ 2008-10-30 19:02 devzero
  0 siblings, 0 replies; 7+ messages in thread
From: devzero @ 2008-10-30 19:02 UTC (permalink / raw)
  To: Chris Snook; +Cc: linux-kernel

> devzero@web.de wrote:
> > hi,
> > 
> > i found that there is a LOT of repeating licensing information in the
> > kernel.
> > 
> > for me,
> > 
> > find ./linux-2.6.27 -type f -exec cat {} \; |egrep "free software|GNU
> > General Public License|Free Software Foundation|version 2 of the
> > License|distributed in the hope|WITHOUT ANY WARRANTY|FITNESS FOR A
> > PARTICULAR"
> > 
> > gives a file sized ~3.5M
> > 
> > That`s more than 1% of the kernel source.
> > 
> > What about the idea to shorten that licening information to a minimum
> > , e.g. by shrinking that to a single, catchy line ,  linking to a
> > special licensing file like COPYING or linking to the FSF website ?
> > 
> > please no flames, i know this idea could be pure dynamite for some
> > people - but i thought 3.5M is worth this mail.
> > 
> > regards roland
> > 
> > ps: i`m not sure if that has been discussed already, but i didn`t
> > find that in the archive. please ignore, otherwise.
> 
> It may be 3.5 MB uncompressed, but disk space is cheap, and repeated 
> strings compress extremely well to save bandwidth.  If you work with the 
> kernel source enough for this to be an issue, you should use git. 
> You'll download these license headers once, and never again unless the 
> copyright info gets changed by a patch.  From a technical perspective, 
> the problem isn't nearly as bad as it looks, and it keeps the lawyers 
> happy, so it's really not worth messing with.  There's plenty of 
> lower-hanging fruit in unifying drivers for similar hardware, unifying 
> 32-bit and 64-bit architectures, and other things that make the code 
> more maintainable.
> 
> -- Chris
> 

yes, convinced - itŽs not worth the work to clean that up.
________________________________________________________________________
Schon gehört? Bei WEB.DE gibt' s viele kostenlose Spiele:
http://games.entertainment.web.de/de/entertainment/games/free/index.html


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: how much license information inside the kernel ?
@ 2008-10-30 16:12 devzero
  0 siblings, 0 replies; 7+ messages in thread
From: devzero @ 2008-10-30 16:12 UTC (permalink / raw)
  To: Jörn Engel; +Cc: linux-kernel

> On Thu, 30 October 2008 11:54:57 +0100, devzero@web.de wrote:
> > 
> > i found that there is a LOT of repeating licensing information in the kernel.
> > 
> > for me, 
> > 
> > find ./linux-2.6.27 -type f -exec cat {} \; |egrep "free software|GNU General Public License|Free Software Foundation|version 2 of the License|distributed in the hope|WITHOUT ANY WARRANTY|FITNESS FOR A PARTICULAR"
> > 
> > gives a file sized ~3.5M
> > 
> > That`s more than 1% of the kernel source.
> 
> Scary, isn't it?

iŽm not really scared, but it`s a really impressing amount. :)

> One of the problems is that corporate lawyers require the full GPL
> preample in any source file.  As a result, a lot of developers inside
> companies cannot publish code without it.  Whether that makes any sense
> is anyone's guess.  But it doesn't cause much harm either, so better
> leave the bloat where it is.

i feared something like that.

so, if it`s not just a common bad habit to add those lines again and again 
but  something being forced by lawyers - it would indeed not being worth
the effort to adress this, as you would need to review and discuss every 
single file containing those lines....

thanks for feedback

roland

__________________________________________________________________
"Run, Fatboy, Run" sowie "Rails & Ties" kostenlos anschauen!
Blockbuster-Gutscheine sichern unter http://www.blockbuster.web.de


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-11-03 21:37 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-30 10:54 how much license information inside the kernel ? devzero
2008-10-30 14:24 ` Jörn Engel
2008-10-30 18:47 ` Chris Snook
2008-11-02 16:39 ` Pavel Machek
2008-10-30 16:12 devzero
2008-10-30 19:02 devzero
     [not found] <bsDqj-4Tl-49@gated-at.bofh.it>
     [not found] ` <btOjA-7Sx-9@gated-at.bofh.it>
2008-11-03 21:37   ` Bodo Eggert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).