Linux - /dev directory

About

On typical Linux-based systems, the /dev directory is used to store file-like device nodes which refer to certain devices in the system. Each node points to a part of the system (a device), which might or might not exist.

Userspace applications can use these device nodes to interface with the systems hardware, for example, the X server will “listen to” /dev/input/mice so that it can relate the user's mouse movements to moving the visual mouse pointer.

The original /dev directories were just populated with every device that might possibly appear in the system. /dev directories were typically very large because of this. devfs came along to provide a more manageable approach but is replaced by udev to clear up some issues with previous implementations.

Documentation / Reference





Discover More
File System Hierarchy Standard (FHS)

The Filesystem Hierarchy Standard (FHS) is a collaborative document that defines the names and locations of many...
Linux - Device (Disk, CDROM, )

management in Linux. As with all Linux-like operating systems, Red Hat Linux uses device files to access all hardware (including disk drives, cdrom). However, the naming conventions for attached storage...
Linux - udev (rules file)

The original /dev directories were just populated with every device that might possibly appear in the system. /dev directories were typically very large because of this. udev manages the /dev directories,...



Share this page:
Follow us:
Task Runner