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

17. Devices and Modules

In this chapter, we discuss four kernel components related to device drivers and device management:

Device types—Classifications used in all Unix systems to unify behavior of common devices

Modules—The mechanism by which the Linux kernel can load and unload object code on demand

Kernel objects—Support for adding simple object-oriented behavior and a parent/child relationship to kernel data structures

Sysfs—A filesystem representation of the system’s device tree

Device Types

In Linux, as with all Unix systems, devices are classified into one of three types:

• Block devices

• Character devices

• Network devices

Often abbreviated blkdevs, block devices are addressable in device-specified chunks called blocks and ...

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