Linux Kernel Journey
Linux Kernel Journey
Nov 12, 2025 · Fundamentals

Linux /sys/bus Explained: Kernel Device Bus Architecture and Practical Exploration

The article delves into the Linux /sys/bus directory of the sysfs virtual file system, detailing how the kernel registers bus types, organizes devices and drivers, explains core structures like struct bus_type, walks through the device‑add and driver‑probe workflow with concrete USB examples, and demonstrates practical inspection using NanoCode.

LinuxNanoCodebus_type
0 likes · 15 min read
Linux /sys/bus Explained: Kernel Device Bus Architecture and Practical Exploration
Linux Kernel Journey
Linux Kernel Journey
Nov 10, 2025 · Fundamentals

Understanding Linux /sys/bus: Principles and Practical Exploration

The article explains how the /sys/bus directory in the Linux sysfs virtual file system represents registered bus types, details its internal kernel structures such as struct bus_type, describes the bus registration and device‑driver matching process, and demonstrates practical inspection using NanoCode with concrete examples like USB storage devices.

LinuxNanoCodebus
0 likes · 14 min read
Understanding Linux /sys/bus: Principles and Practical Exploration