Thursday, February 12, 2009

Difference between monolithic and Modular kernel

Monolithic kernel

* Single binary file [ directory ls -d /lib/modules/$(uname -r) does NOT exists ]
* All drivers included in kernel itself

Modular kernel

* Multiple files for kernel
* Drivers can be loaded or unloaded into kernel using modprob command, see man page of
lsmod, modprob etc [directory ls -d /lib/modules/$(uname -r) exists to store drivers]
* Almost all drivers are build and linked against kernel

0 comments: