Linux内核版本说明

来源:互联网 发布:cms内容管理系统 选择 编辑:程序博客网 时间:2024/05/18 01:45

在下水平相当有限,不当之处,还望大家批评指正^_^


1. 标准内核版本信息

看下图 (截自https://www.kernel.org/)

第一列,版本性质:主分支(mainline),稳定版(stable),长期维护版(longterm)

第二列,版本号。-rc表示非正式发布版本,[EOL]表示本分支最后一个版本。

第三列,版本发布日期。

patch列是补丁。用于从本分支的基础版本,升级到本分支当前最新版本。例如,3.10.98这一行的patch文件,用于将源码从3.10版本升级到3.10.98。另外,patch列后面其实还有一列inc.patch(图中没显示出来),用于从上一版本升级到当前最新版本。例如,从3.10.97升到3.10.98。3.10.98这一行总是提供3.10分支最新版本的下载。因此,随着时间的推移,这一行的版本号中3.10.后面这部分数字会不断变大。



2. 标准内核与Linux发行版(如redhat)内核的区分

见下面的描述(摘自:https://www.kernel.org/releases.html)

Distribution kernels

Many Linux distributions provide their own "longterm maintenance" kernels that may or may not be based on those maintained by kernel developers. These kernel releases are not hosted at kernel.org and kernel developers can provide no support for them.

It is easy to tell if you are running a distribution kernel. Unless you downloaded, compiled and installed your own version of kernel from kernel.org, you are running a distribution kernel. To find out the version of your kernel, run uname -r:

# uname -r3.7.5-201.fc18.x86_64

If you see anything at all after the dash, you are running a distribution kernel. Please use the support channels offered by your distribution vendor to obtain kernel support.




0 0
原创粉丝点击