IT lexicon › Infra & Ops › Block device

Block device

Infra & Ops På svenska → Updated: 2026-07-31

A device read and written in fixed-size blocks with random access — disks, SSDs, USB sticks.

Unix divides devices into two kinds. Block devices are addressed in blocks of typically 512 or 4096 bytes, can be seeked freely, and are buffered by the kernel through the page cache. Character devices are read as a byte stream with no buffering — keyboards, serial ports, /dev/random.

The distinction shows up in ls -l /dev, where the first character is b or c. Filesystems can only live on block devices, because they assume a single sector can be rewritten without touching the rest. Layers such as LVM or RAID are often stacked on top of the physical device, and each layer looks like a block device to the one above.

← Back to the lexicon