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 - Linux Tutorial
From the course: Cert Prep: LPIC-1 Exam 101 (Version 5.0)
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
Enable/disable integrated hardware2m 16s
-
(Locked)
Determine hardware resources6m 4s
-
(Locked)
Working with USB devices3m 8s
-
(Locked)
About sysfs, udev, and D-Bus2m 52s
-
(Locked)
Manage kernel modules5m 2s
-
(Locked)
Manual network configuration3m 32s
-
(Locked)
Configure networking using NetworkManager5m 13s
-
-
-
-
-
-
-
-
-
-
-
-
-