Skip to Content
Linux Kernel Development, Third Edition
book

Linux Kernel Development, Third Edition

by Robert Love
June 2010
Intermediate to advanced
440 pages
13h 13m
English
Addison-Wesley Professional
Content preview from Linux Kernel Development, Third Edition

14. The Block I/O Layer

Block devices are hardware devices distinguished by the random (that is, not necessarily sequential) access of fixed-size chunks of data. The fixed-size chunks of data are called blocks. The most common block device is a hard disk, but many other block devices exist, such as floppy drives, Blu-ray readers, and flash memory. Notice how these are all devices on which you mount a filesystem—filesystems are the lingua franca of block devices.

The other basic type of device is a character device. Character devices, or char devices, are accessed as a stream of sequential data, one byte after another. Example character devices are serial ports and keyboards. If the hardware device is accessed as a stream of data, it is implemented ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Mastering Linux Kernel Development

Mastering Linux Kernel Development

CH Raghav Maruthi
Understanding the Linux Kernel

Understanding the Linux Kernel

Daniel P. Bovet, Marco Cesati

Publisher Resources

ISBN: 9780768696974Purchase book