Subtle and Flexible Loading Drivers as Modules

Most Linux distributions ship with as many drivers as possible compiled as modules. This approach saves memory, because unused drivers need not consume RAM as part of the kernel. Reducing the size of the main kernel file also makes it possible to fit the kernel on a single floppy disk, which is an important consideration for installation and emergency recovery systems. The use of kernel modules also makes for a more flexible system for handling drivers—the Linux installer can set itself up to use whatever drivers are appropriate, and adjusting the system for a new hardware configuration becomes a matter of changing configuration files. You can also add precompiled kernel modules to a computer without recompiling the kernel or even rebooting the system. You can load modules manually for testing purposes, or you can configure the system so that it automatically loads the correct modules when it boots or on an as-needed basis.

0 0

Post a comment