Everything in Linux is a file. This is a common phrase related to Linux. As and when one gradually learns Linux, he/she gets to understand the fundamentals behind this phrase. In Linux even hardware devices are recognized as files. These are known as Linux device files or special files. Here in this article, we shall […]
One of our previous article (here) discusses the concepts and theory of Linux Kernel Modules. We became acquainted with the LKMs as a compiled object code that gets linked to the kernel when loaded and gets unlinked on unloading. Now, its time to delve into the programming part of it i.e. how to develop them. […]
Logging information is an essential and most vital element of programming. Adding logs is one of the most popular debugging technique. In Linux C programming logging mechanisms differ in case of user level programming and kernel programming. Here in this article we will discuss all aspects of Linux Kernel Logs.
Linux kernel is the core of any Unix-like operating system which provides basic functionalities and working model of the operating system. However, what if one wants to add a new feature, for example, supporting a new device?