Chapter 4. Hardware, Devices, and Tools

Table of Contents
4.1. Hardware Utilities
4.1.1. The MAKEDEV Script
4.1.2. The mknod command
4.1.3. The lspci command
4.1.4. The lsdev command
4.1.5. The lsusb command
4.1.6. The lsraid command
4.1.7. The hdparm command
4.1.8. More Hardware Resources
4.2. Kernel Modules
4.2.1. lsmod
4.2.2. insmod
4.2.3. depmod
4.2.4. rmmod
4.2.5. modprobe

"Knowledge speaks, but wisdom listens." Jimi Hendrix

This chapter gives an overview of what a device file is, and how to create one. The canonical list of device files is /usr/src/linux/Documentation/devices.txt if you have the Linux kernel source code installed on your system. The devices listed here are correct as of kernel version 2.6.8.