Linux – Proc File system – Part 2

The  interested reader can check the part 1 of the series at the link below https://www.hitchhikersguidetolearning.com/2020/11/02/linux-proc-file-system-part-1/ Let us look at some of the outputs of different files in the “/proc” folder. /proc/meminfo – This provides statistics about memory usage on the system. Snippet shown below /proc/version – This string identifies the kernel version that is […]

Linux – Proc File system – Part 1

The Proc file system is interesting in the sense it provides information on various processes and kernel data structures dynamically. It is loaded at boot time to a mount point termed “/proc”. The proc filesystem is a pseudo/virtual file system. If you check the file size of any file in the /proc directory – the […]

Compiling the Linux Kernel – Part 2

The interested reader can refer part 1 of this series at the link below https://www.hitchhikersguidetolearning.com/2020/11/02/compiling-the-linux-kernel-part-1/ Now that the Linux 5.9.1 kernel code is downloaded and untarred, traverse to the linux-5.9.1 folder and open the “changes.rst” that contains the minimal requirements needed to compile the Linux kernel. The “changes.rst” will be present under the folder “Documentation/process” […]

Compiling the Linux Kernel -Part 1

Many occasions, we wish to develop our own modules, look into various aspects of the Linux kernel code or need to develop our own version of our kernel for specific purposes. This article tries to cover the topic of compiling the Linux kernel code. Some requirements that will be needed Linux operating system to compile […]