From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

About sysfs, udev, and D-Bus

About sysfs, udev, and D-Bus - Linux Tutorial

From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)

Start my 1-month free trial

About sysfs, udev, and D-Bus

- [Instructor] To help understand how sysfs, Udev, and dbus work together, we need to understand that in Linux, we have two different spaces for running code. Kernel space and user space. Code that runs in kernel space is privileged and has full access to hardware. It runs in ring 0, which is a hardware-enforced privilege execution mode. User space applications are less privileged and cannot access hardware directly and run in ring 3, a less privileged execution mode in hardware. User space applications can only interact with hardware by making system calls to the kernel, and then the kernel performs the action. When a device is attached, the kernel makes the information from the driver available in a virtual file system entered at /sys. This file system is created at boot based on hardware that exists at that point. If a new device is plugged in, then this information is updated. The kernel then sends a device event…

Contents