May 2025
Intermediate to advanced
573 pages
14h 38m
English
For my purpose holds … To strive, to seek, to find, and not to yield.
— Alfred, Lord Tennyson
Earlier chapters explain I/O devices and the structure of a device driver. Chapter 16 describes how block-oriented devices use DMA, and shows an example Ethernet driver.
This chapter considers the design of a device driver for secondary storage devices known as disks†. The chapter describes how a disk stores blocks of data, and focuses on basic disk transfer operations that allow one to read and write blocks. The next chapter describes how higher levels of the system use disk hardware to provide files and directories. In addition, the chapter describes strict ordering of requests when using semaphores to ...
Read now
Unlock full access