Kernel and patch

Source: Internet
Author: User
Kernel and patch-general Linux technology-Linux programming and kernel information. The following is a detailed description. Kernel generally refers to the complete linux kernel source. the file name is generally linux-2.x.x.tar.gz or
Linux-2.X.X.tar.bz2, the size after compression is generally between 10--15M. In fact, each time the kernel
Upgrades and changes are not great. For example, if you have kernel 2.2.1
The difference is very small. The pache file contains the variable files between two adjacent versions. In this way,
When upgrading the kernel, for example, from 2.2.1 to 2.2.2, there is no need to complete 2.2.2.
Next, you only need to use the patch file to patch 2.2.1. This patch is called patch-2.2.2.
Because the patch files are generally in the range of 10 KB to kb, that is, they are much smaller than the complete kernel,
Therefore, it is easier to download and upgrade. 2.2.1 after patch 2.2.2 is installed
No difference.

However, because the patch is only an update file between two adjacent versions
If there are more, it will be very troublesome. For example, to upgrade from kernel 2.2.0 to kernel 2.2.5
Patch 2.2.1, patch 2.2.2, patch 2.2.3, patch 2.2.4, and patch 2.2.5 are ordered one by one
Patch, so at this time, it is better to re-set the complete kernel source, that is
Linux-2.2.5.tar.gz?linux-2.2.5.tar.bz2 to upgrade.

The patch method is detailed in the complete kernel README file or kernel-HOWTO,
Read these two documents carefully before upgrading the kernel.
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.