© David Both 2020
D. BothUsing and Administering Linux: Volume 2https://doi.org/10.1007/978-1-4842-5455-4_14

14. D-Bus and udev

David Both1 
(1)
Raleigh, NC, USA
 

Objectives

In this chapter you will learn
  • How Linux treats all devices as plug and play

  • What D-Bus and udev are

  • How D-Bus and udev work together to make device access easy

  • How to write rules for udev

/dev chaos

The /dev directory has always been the location for the device files in all Unix and Linux operating systems. Note that device files are not the same as device drivers. Each device file represents one actual or potential physical device connected to the host.

In the past, device files were created at the time the operating system was created. This meant that all possible devices that might ...

Get Using and Administering Linux: Volume 2: Zero to SysAdmin: Advanced Topics now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.