Devices for Operating Systemss
Devices covers how the operating system talks to hardware such as disks and network cards. Drivers hide device details behind a common interface, and the OS uses polling, interrupts or direct memory access to move data. Hard disk performance depends on seek time, rotation and transfer, so scheduling matters.
Stage: Persistence · Part of the Operating Systems roadmap · Last reviewed 19 November 2026
What to learn in Devices
- Contrast polling with interrupt-driven I/O and DMA
- Explain the role of a device driver in the kernel
- Calculate disk access time from seek, rotation and transfer
- Compare disk scheduling policies such as SSTF and elevator
- Describe how RAID levels trade capacity, speed and redundancy
Devices interview questions
Why is DMA better than programmed I/O for large transfers?
With programmed I/O the CPU copies every byte itself. With DMA a controller moves the data between device and memory directly and raises one interrupt when done, so the CPU is free to run other work during the transfer.
How does RAID 1 differ from RAID 5?
RAID 1 mirrors data on two or more disks, which gives simple redundancy but halves usable capacity. RAID 5 stripes data with distributed parity across at least three disks, tolerating one disk failure with better capacity but slower small writes.
Where Devices fits in the Operating Systems roadmap
Devices belongs to the Persistence stage (advanced level). Storage and file systems.
Other units in this stage
Back to the full Operating Systems roadmap