/dev

The directory holding device nodes: special files through which programs reach disks, terminals and other devices.

In more detail

The kernel populates /dev automatically as devices appear, for example /dev/sda for a disk and /dev/tty for your terminal. Opening one of these files talks to a device driver, not to stored data. Writing into the wrong one, such as a disk node, can destroy data, which is why they are protected by permissions.

Related terms

Taught in

References