© The Author(s), under exclusive license to APress Media, LLC, part of Springer Nature 2023
D. BothUsing and Administering Linux: Volume 2https://doi.org/10.1007/978-1-4842-9615-8_38

38. 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 special files in all Unix and Linux operating systems. Note that device special 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 the device files ...

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.