The Linux kernel is now so vast that none of us can possibly know every corner of it (not even Linus Torvalds himself). If I have to learn a new subsystem, I enable ftrace, perform some work, and then analyze th
Upon encountering a parameter that it does not understand, the Linux kernel saves the parameter. The kernel later passes the parameter to init when performing the user space start. For example, if you add -s to the kernel parameters, the kernel passes the -s to the init program to indicate...
Kernel is one of the most significant components of the Linux operating system. The kernel is used to manage resources, processes, and provides methods for hardware and software communication. It is important to know the exact Linux Kernel version to install correct software packages, bug fixes, ...
It’s important to understand the structure of a network stack because your data must travel through these layers at least twice before it reaches a program at its destination. For example, if you’re sending data from Host A to Host B, as shown in Figure 9-1, your bytes leave the app...
Chapter 5. How the Linux Kernel Boots(第5章 Linux内核的启动过程) You now know the physical and logical structure of a Linux system, what the kernel is, and how to work with processes. This chapter will teach you how the kernel starts— or boots. In other words, you’ll learn how the...
The [Install] section in the sshd.service unit file is important because it helps us to understand how to use systemd’s WantedBy and RequiredBy dependency options. It’s actually a mechanism for enabling units without modifying any configuration files. During normal operation, systemd ignores the...
The cat command is one of the easiest Unix commands to understand; it simply outputs the contents of one or more files. The general syntax of the cat command is as follows: cat命令是最容易理解的Unix命令之一; 它简单地输出一个或多个文件的内容。
How to: Compile Linux kernel 2.6 Compiling custom kernel has its own advantages and disadvantages. However, new Linux user / admin find it difficult to compile Linux kernel. Compiling kernel needs to understand few things and then just type couple of commands. This step by step howto covers ...
Let’s put together virtual memory areas, page table entries and page frames to understand how this all works. Below is an example of a user heap: 让我把所有这些与虚拟内存区域结合起来帮助理解内存管理是如何工作的。下面十一个用户的堆:
Before proceeding with upgrading your server, you need to understand a few notable limitations of using Leapp: It can only be used to upgrade from one major version of Red Hat Enterprise Linux to the following major version. Leapp will not work if your system uses disk encryption for the ...