Click to See Complete Forum and Search --> : How Does Linux Kernel Versioning Work?


Modorf
08-21-2003, 03:35 PM
I find it really annoying when people give out wrong information. One thing that I found recently was wrong information on how Linux Kernel versioning worked, so I found a good explanation of how it works and attached it.

-Nathan.

------------
http://mirrors.kernel.org/LDP/FAQ/Linux-FAQ/kernel.html#linux-versioning

Q: How Does Linux Kernel Versioning Work?

A: At any given time, there are several "stable" versions of Linux, and one "development" version. Unlike most proprietary software, older stable versions continue to be supported for as long as there is interest, which is why multiple versions exist.

Linux version numbers follow a longstanding tradition. Each version has three numbers, i.e., X.Y.Z. The "X" is only incremented when a really significant change happens, one that makes software written for one version no longer operate correctly on the other. This happens very rarely -- in Linux's history it has happened exactly once.

The "Y" tells you which development "series" you are in. A stable kernel will always have an even number in this position, while a development kernel will always have an odd number.

The "Z" specifies which exact version of the kernel you have, and it is incremented on every release.

The current stable series is 2.4.x, and the current development series is 2.5.x. However, many people continue to run 2.2.x and even 2.0.x kernels, and they als o continue to receive bugfixes. The development series is the code that the Linu x developers are actively working on, which is always available for public viewing, testing, and even use, although production use is not recommended! This is part of the "open source development" method.

Eventually, the 2.5.x development series will be "sprinkled with holy penguin pee" and become the 2.6.0 kernel and a new stable series will then be established, and a 2.7.x development series begun. Or, if any really major changes happen, it might become 3.0.0 instead, and a 3.1.x series begun.

mdwatts
08-21-2003, 03:53 PM
The only part of that I didn't already know was the penguin pee. Thanks for clearing that up. :)

sharth
08-21-2003, 03:57 PM
well, it forgot the -test stuff. currently, 2.6.0-test? is a development kernel.

GENERALLY SPEAKING!
<any-number>.<even-number-goes-here>.<any number> is a stable kernel.
<any-number>.<odd-number-goes-here>.<any number> is a developmental kernel.

DMR
08-22-2003, 09:54 AM
Originally posted by mdwatts
The only part of that I didn't already know was the penguin pee. Thanks for clearing that up. :) And thanks for cleaning it up, too.

:D

CMonster
08-22-2003, 12:40 PM
I always remembered it as MAJOR.MINOR.PATCH LEVEL -odd MINOR will perform oddly

did someone mention penguin pee? http://www.dslextreme.com/users/cmonster3/squirtguin.gif

DMR
08-22-2003, 12:54 PM
Originally posted by CMonster
did someone mention penguin pee? lol! I haven't seen that animated GIFFie in a while.