device node

A special file, usually under /dev, that stands for a device so programs can open, read and write it like a file.

In more detail

A device node has no data of its own: the kernel passes reads and writes to the matching driver. Some represent hardware, such as a disk; others are pseudo-devices that only exist in software, such as /dev/null, which discards everything, and /dev/urandom, which returns random bytes. Confirm what a node represents and which permissions protect it before redirecting output into it.

Example

The course record source=dev node=tty behavior=kernel describes a terminal device node.

Related terms

Taught in

References